GWM : sms integration
This commit is contained in:
parent
73a0a67fb0
commit
7edeca4504
@ -186,6 +186,7 @@ class RestAuthenticationController extends AdminController
|
|||||||
try {
|
try {
|
||||||
|
|
||||||
$email = $this->request->getJSON()->email;
|
$email = $this->request->getJSON()->email;
|
||||||
|
$otp = $this->request->getJSON()->otp;
|
||||||
$client_id = $this->request->getJSON()->client_id ?? null;
|
$client_id = $this->request->getJSON()->client_id ?? null;
|
||||||
|
|
||||||
|
|
||||||
@ -219,11 +220,6 @@ class RestAuthenticationController extends AdminController
|
|||||||
|
|
||||||
if (isset($employeeData['employee_id'])) {
|
if (isset($employeeData['employee_id'])) {
|
||||||
|
|
||||||
$otp = random_int(100000, 999999);
|
|
||||||
|
|
||||||
// $update = $this->employeeModel->where('email_corporate', $email)->where('relationship', 'Self')
|
|
||||||
// ->where('is_active', 1)->set(array('otp' => $otp))
|
|
||||||
// ->update();
|
|
||||||
|
|
||||||
$builder = $this->employeeModel
|
$builder = $this->employeeModel
|
||||||
->where('email_corporate', $email)
|
->where('email_corporate', $email)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user