Update OAuth2Storage.php - fix email retrieval in getUser
(cherry picked from commit 6a825cc504
)
This commit is contained in:
parent
19952264c8
commit
0e32c86c3d
@ -64,7 +64,7 @@ class OAuth2Storage extends \OAuth2\Storage\Pdo {
|
|||||||
return( [
|
return( [
|
||||||
'webfinger' => channel_reddress($x),
|
'webfinger' => channel_reddress($x),
|
||||||
'portable_id' => $x['channel_hash'],
|
'portable_id' => $x['channel_hash'],
|
||||||
'email' => $a['account_email'],
|
'email' => $a[0]['account_email'],
|
||||||
'username' => $x['channel_address'],
|
'username' => $x['channel_address'],
|
||||||
'user_id' => $x['channel_id'],
|
'user_id' => $x['channel_id'],
|
||||||
'name' => $x['channel_name'],
|
'name' => $x['channel_name'],
|
||||||
|
Reference in New Issue
Block a user