Commit 0e32c86c authored by Pascal Deklerck's avatar Pascal Deklerck Committed by Mario

Update OAuth2Storage.php - fix email retrieval in getUser

(cherry picked from commit 6a825cc5)
parent 19952264
Pipeline #98577 passed with stage
in 12 minutes and 38 seconds
......@@ -64,7 +64,7 @@ class OAuth2Storage extends \OAuth2\Storage\Pdo {
return( [
'webfinger' => channel_reddress($x),
'portable_id' => $x['channel_hash'],
'email' => $a['account_email'],
'email' => $a[0]['account_email'],
'username' => $x['channel_address'],
'user_id' => $x['channel_id'],
'name' => $x['channel_name'],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment