Skip to content

Commit 8a64fba

Browse files
committed
wip
1 parent 89e3f76 commit 8a64fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Http/Controllers/OtpVerificationController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public function resend()
4444
$otp = Session::get($service->generateKey($user));
4545

4646
if (empty($otp)) {
47-
Cache::forever($service->generateKey($user), true);
47+
$service->generateOtpAndSend($user);
4848
}
4949

5050
$class = config('otp.notification');

0 commit comments

Comments
 (0)