Merge pull request #536 from dmstr-forks/feature/dev-elias
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(
|
||||
[
|
||||
'provider' => $client->getId(),
|
||||
'client_id' => (string)$client->getUserAttributes()['id'],
|
||||
'client_id' => (string)$client->getUserId(),
|
||||
]
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user