mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Fixed invalid variable name
This commit is contained in:
@@ -182,7 +182,7 @@ class Server
|
||||
public function newAuthoriseRequest(string $typeId, array $authoriseParams)
|
||||
{
|
||||
// Check if the user already has an access token
|
||||
$accessToken = $this->db->hasAccessToken($userId,
|
||||
$accessToken = $this->db->hasAccessToken($typeId,
|
||||
$authoriseParams['client_id']);
|
||||
|
||||
if ($accessToken !== false) {
|
||||
|
Reference in New Issue
Block a user