FIX_CHANGE_PASS_API
This commit is contained in:
parent
3d0eeb8ce2
commit
2666f8581b
@ -1594,8 +1594,7 @@ class RestAuthenticationController extends AdminController
|
|||||||
$this->myLogger->logme("error", "REST-AUTH-CONTROLLER - changePassword: Employee not verified - calling third-party API fallback to get the POST employee data");
|
$this->myLogger->logme("error", "REST-AUTH-CONTROLLER - changePassword: Employee not verified - calling third-party API fallback to get the POST employee data");
|
||||||
|
|
||||||
// Call the third-party API function
|
// Call the third-party API function
|
||||||
$apiResponse = $this->callThirdPartyAPI($payload, 'changePassword');
|
return $this->callThirdPartyAPI($payload, 'changePassword');
|
||||||
return $this->respond(['status' => 'failed', 'code' => 404, 'data' => "", 'post_enrollment' => json_decode($apiResponse, true)], 200);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (\Throwable $th) {
|
} catch (\Throwable $th) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user