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 065b868 commit a852cb0Copy full SHA for a852cb0
src/Support/OtpService.php
@@ -22,6 +22,8 @@ public function generateOtpAndSend(User $user)
22
$class = config('otp.notification');
23
24
$user->notify(new $class($otp));
25
+
26
+ Session::put($this->generateOtpSentKey($user), true);
27
}
28
29
public function generateRandomOtp(): int
0 commit comments