Skip to content

Commit 34a1728

Browse files
author
Teis V. K. Nielen
committed
Update FluentAccessToken.php
The expire_time constraint added in this method breaks support of refresh_token, and seems unnecessary, as access_token expire-check is done in the isValidRequest method in the ResourceServer class.
1 parent d35ce2c commit 34a1728

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Storage/FluentAccessToken.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public function get($token)
2727
{
2828
$result = $this->getConnection()->table('oauth_access_tokens')
2929
->where('oauth_access_tokens.id', $token)
30-
->where('oauth_access_tokens.expire_time', '>=', time())
3130
->first();
3231

3332
if (is_null($result)) {

0 commit comments

Comments
 (0)