@@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user