Skip to content

Commit e9eea7d

Browse files
committed
Fix #159
1 parent c640bf0 commit e9eea7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Storage/FluentAuthCode.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public function get($code)
2727
{
2828
$result = $this->getConnection()->table('oauth_auth_codes')
2929
->where('oauth_auth_codes.id', $code)
30+
->where('oauth_auth_codes.expire_time', '>=', time())
3031
->first();
3132

3233
if (is_null($result)) {

0 commit comments

Comments
 (0)