FIX_ISSUE

This commit is contained in:
VENKATESHWARAN 2026-03-02 15:14:35 +05:30
parent 5eebaf8374
commit 2dd71494ae

View File

@ -685,6 +685,7 @@ class RestAuthenticationController extends AdminController
$data = $this->request->getJSON();
$email = $data->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");
}
$data->otp = $otp;
if ($HrData) {
//check the resend otp (with in 60 seconds don't allow another otp to send)