Compare commits
2 Commits
70232d2107
...
7c0ebe6668
Author | SHA1 | Date | |
---|---|---|---|
7c0ebe6668 | |||
6eb54a6f11 |
@ -163,7 +163,7 @@ class OAuthController
|
|||||||
{
|
{
|
||||||
$userInfo = [];
|
$userInfo = [];
|
||||||
if (in_array('openid', $scope)) {
|
if (in_array('openid', $scope)) {
|
||||||
$userInfo['sub'] = $user->getId();
|
$userInfo['sub'] = (string)$user->getId();
|
||||||
}
|
}
|
||||||
if (in_array('email', $scope)) {
|
if (in_array('email', $scope)) {
|
||||||
$userInfo['email'] = $user->getEmail();
|
$userInfo['email'] = $user->getEmail();
|
||||||
|
Loading…
Reference in New Issue
Block a user