Merge pull request #116 from Dezinger/bugfix_type_convertion
#115 Convert client_id to string because pgsql fail with type convertion
This commit is contained in:
@ -1,6 +1,7 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
## 1.1.1 - Work in progress
|
## 1.1.1 - Work in progress
|
||||||
|
- Bug #115: Convert client_id to string because pgsql fail with type convertion (Dezinger)
|
||||||
- Bug #119: Security fix: add AccessControl to RuleController (Dezinger)
|
- Bug #119: Security fix: add AccessControl to RuleController (Dezinger)
|
||||||
- Enh #120: 2FA i18n russian translation (Dezinger)
|
- Enh #120: 2FA i18n russian translation (Dezinger)
|
||||||
- Bug #111: Fix migration for PostgreSQL DBMS (MKiselev)
|
- Bug #111: Fix migration for PostgreSQL DBMS (MKiselev)
|
||||||
|
|||||||
@ -26,7 +26,7 @@ class SocialNetworkAccountQuery extends ActiveQuery
|
|||||||
return $this->andWhere(
|
return $this->andWhere(
|
||||||
[
|
[
|
||||||
'provider' => $client->getId(),
|
'provider' => $client->getId(),
|
||||||
'client_id' => $client->getUserAttributes()['id'],
|
'client_id' => (string)$client->getUserAttributes()['id'],
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user