From 3e529d94cedc8bd07f496e632c6f2ffd0769142e Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Thu, 27 Nov 2025 13:38:56 +0530 Subject: [PATCH] FIX_OTP --- app/Controllers/RestAuthenticationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Controllers/RestAuthenticationController.php b/app/Controllers/RestAuthenticationController.php index e12190c..7531d2e 100755 --- a/app/Controllers/RestAuthenticationController.php +++ b/app/Controllers/RestAuthenticationController.php @@ -391,7 +391,7 @@ class RestAuthenticationController extends AdminController $otp = isset($this->request->getJSON()->otp) ? $this->request->getJSON()->otp : 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)) {