From 148441ccf4de944e6a6ef074de36a9dd196b683c Mon Sep 17 00:00:00 2001 From: "venkatesh.r" Date: Thu, 27 Nov 2025 13:39:11 +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 8bd9962b..4a4b7cbd 100755 --- a/app/Controllers/RestAuthenticationController.php +++ b/app/Controllers/RestAuthenticationController.php @@ -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)) {