Skip to content

Commit 86f62d0

Browse files
authored
Update Exipred Time
1 parent b803966 commit 86f62d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Traits/Otpable.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function createOtp($otp)
3737
*/
3838
public function verifyOtp($otpModel, $otp)
3939
{
40-
if (now()->gt($this->expired_at)) {
40+
if (now()->gt($otpModel->expired_at)) {
4141
throw new OtpExpiredException(__('Otp Expired'));
4242
}
4343

0 commit comments

Comments
 (0)