Merge pull request #236 from Ritikeshyadav/megha

bugs fixinge
This commit is contained in:
Ritikeshyadav
2024-06-05 15:00:54 +05:30
committed by GitHub

View File

@@ -818,7 +818,7 @@ class AuthController extends Controller
if ($userEmailOtpData) {
$otp = rand(1000,9999);
$this->thirdPartyOTP($userEmailOtpData->contact_number, $otp);
RegistrationOtp::where('email', $emailToAdd)->update(['contact_otp'=>$otp ,'contact_expire_at'=>Carbon::now()->addMinutes(2)]);
RegistrationOtp::where('email', $emailToAdd)->update(['contact_otp'=>$otp ,'contact_expire_at'=>Carbon::now()->addMinutes('2')]);
return response()->json(['status' => 200, 'message' => 'Email OTP verified Successfully']);
}
}