mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-23 05:29:52 +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)
|
public function newAuthoriseRequest(string $typeId, array $authoriseParams)
|
||||||
{
|
{
|
||||||
// Check if the user already has an access token
|
// Check if the user already has an access token
|
||||||
$accessToken = $this->db->hasAccessToken($userId,
|
$accessToken = $this->db->hasAccessToken($typeId,
|
||||||
$authoriseParams['client_id']);
|
$authoriseParams['client_id']);
|
||||||
|
|
||||||
if ($accessToken !== false) {
|
if ($accessToken !== false) {
|
||||||
|
Loading…
Reference in New Issue
Block a user