diff --git a/src/OAuth2/Storage/PDO/Session.php b/src/OAuth2/Storage/PDO/Session.php index eed62b0a..5c92c59e 100644 --- a/src/OAuth2/Storage/PDO/Session.php +++ b/src/OAuth2/Storage/PDO/Session.php @@ -215,7 +215,7 @@ class Session implements SessionInterface $stmt->execute(); $result = $stmt->fetchObject(); - return ($result === false) ? false : $result->session_access_token_id; + return ($result === false) ? false : $result->session_id; } /**