FIX_ISSUE
This commit is contained in:
parent
5eebaf8374
commit
2dd71494ae
@ -685,6 +685,7 @@ class RestAuthenticationController extends AdminController
|
|||||||
|
|
||||||
$data = $this->request->getJSON();
|
$data = $this->request->getJSON();
|
||||||
|
|
||||||
|
|
||||||
$email = $data->email;
|
$email = $data->email;
|
||||||
|
|
||||||
$HrData = $this->hrModel->where('email', $email)
|
$HrData = $this->hrModel->where('email', $email)
|
||||||
@ -702,6 +703,8 @@ class RestAuthenticationController extends AdminController
|
|||||||
$this->myLogger->logme("error", "REST-AUTH-CONTROLLER - verifyEmployeeWithMobileNumber: Sending default otp");
|
$this->myLogger->logme("error", "REST-AUTH-CONTROLLER - verifyEmployeeWithMobileNumber: Sending default otp");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$data->otp = $otp;
|
||||||
|
|
||||||
if ($HrData) {
|
if ($HrData) {
|
||||||
|
|
||||||
//check the resend otp (with in 60 seconds don't allow another otp to send)
|
//check the resend otp (with in 60 seconds don't allow another otp to send)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user