otp timer change

This commit is contained in:
Ritikesh yadav
2024-05-14 18:45:20 +05:30
parent 861697f62d
commit 8d37310166

View File

@@ -1028,7 +1028,7 @@ class AuthController extends Controller
// 'otp' => $otp
// ]);
$insertOtp = User::where('contact_number', $contactNumber)->update([
'expire_at' => Carbon::now()->addMinutes('5'),
'expire_at' => Carbon::now()->addMinutes('2'),
'otp' => $otp
]);
if (!$insertOtp) {