FIX_OTP
This commit is contained in:
parent
ac58717fb6
commit
148441ccf4
@ -399,7 +399,7 @@ class RestAuthenticationController extends AdminController
|
||||
$client_id = $this->request->getJSON()->client_id ?? null;
|
||||
|
||||
if(empty($otp)){
|
||||
return $this->respond(['status' => 'failed','code' => 400,'message' => 'OTP is required'], 200);
|
||||
return $this->respond(['status' => 'OTP is required','code' => 400,'message' => 'OTP is required'], 200);
|
||||
}
|
||||
|
||||
if (empty($mobile_number) && empty($email_id)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user