Fix client_id value by using the correct method

This commit is contained in:
Elias Luhr
2024-02-09 11:55:10 +01:00
parent 13a5420690
commit 484e025014

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