mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-01-19 01:52:57 +05:30
Actually fixed the bug in validateAccessToken this time
This commit is contained in:
parent
cc81e20206
commit
acfadc8993
@ -209,7 +209,7 @@ class Session implements SessionInterface
|
||||
{
|
||||
$db = \ezcDbInstance::get();
|
||||
|
||||
$stmt = $db->prepare('SELECT session_access_token_id FROM `oauth_session_access_tokens` WHERE
|
||||
$stmt = $db->prepare('SELECT session_id FROM `oauth_session_access_tokens` WHERE
|
||||
access_token = :accessToken AND access_token_expires <= ' . time());
|
||||
$stmt->bindValue(':accessToken', $accessToken);
|
||||
$stmt->execute();
|
||||
|
Loading…
x
Reference in New Issue
Block a user