From 2d07b773479ecca4e8d0ebf2fcd0dadbf49b60ef Mon Sep 17 00:00:00 2001 From: Ritikesh yadav Date: Wed, 3 Apr 2024 15:51:11 +0530 Subject: [PATCH] otp issue fix --- app/Http/Controllers/Frontend/ProfileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Frontend/ProfileController.php b/app/Http/Controllers/Frontend/ProfileController.php index beffff3..f90181e 100644 --- a/app/Http/Controllers/Frontend/ProfileController.php +++ b/app/Http/Controllers/Frontend/ProfileController.php @@ -212,7 +212,7 @@ class ProfileController extends Controller $otp = rand(1000, 9999); Session::put('contact_number', $request->newcontact_number); Session::put('mobile_otp', $otp); - $this->thirdPartyOTP($request->contact_number, $otp); + $this->thirdPartyOTP($request->newcontact_number, $otp); return response()->json([ 'status' => 200, 'message' => 'OTP has been sent to your contact number',