Skip to content

Commit

Permalink
Update FluentAccessToken.php
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Teis V. K. Nielen committed Feb 13, 2015
1 parent d35ce2c commit 34a1728
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Storage/FluentAccessToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ public function get($token)
{
$result = $this->getConnection()->table('oauth_access_tokens')
->where('oauth_access_tokens.id', $token)
->where('oauth_access_tokens.expire_time', '>=', time())
->first();

if (is_null($result)) {
Expand Down

0 comments on commit 34a1728

Please sign in to comment.