We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b803966 commit 86f62d0Copy full SHA for 86f62d0
src/Traits/Otpable.php
@@ -37,7 +37,7 @@ public function createOtp($otp)
37
*/
38
public function verifyOtp($otpModel, $otp)
39
{
40
- if (now()->gt($this->expired_at)) {
+ if (now()->gt($otpModel->expired_at)) {
41
throw new OtpExpiredException(__('Otp Expired'));
42
}
43
0 commit comments