We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89e3f76 commit 8a64fbaCopy full SHA for 8a64fba
src/Http/Controllers/OtpVerificationController.php
@@ -44,7 +44,7 @@ public function resend()
44
$otp = Session::get($service->generateKey($user));
45
46
if (empty($otp)) {
47
- Cache::forever($service->generateKey($user), true);
+ $service->generateOtpAndSend($user);
48
}
49
50
$class = config('otp.notification');
0 commit comments