Merge pull request #536 from dmstr-forks/feature/dev-elias

Fix client_id value by using the correct method
This commit is contained in:
Lorenzo Milesi
2024-02-09 12:08:55 +01:00
committed by GitHub

View File

@ -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(),
]
);
}