Fix client_id value by using the correct method
This commit is contained in:
@ -26,7 +26,7 @@ class SocialNetworkAccountQuery extends ActiveQuery
|
|||||||
return $this->andWhere(
|
return $this->andWhere(
|
||||||
[
|
[
|
||||||
'provider' => $client->getId(),
|
'provider' => $client->getId(),
|
||||||
'client_id' => (string)$client->getUserAttributes()['id'],
|
'client_id' => (string)$client->getUserId(),
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user