mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-16 10:18:55 +05:30
Fixed invalid variable name
This commit is contained in:
parent
1c5d239087
commit
f0e36e6c94
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user