diff options
author | M. Dent <dentm42@gmail.com> | 2018-12-15 22:33:03 +0100 |
---|---|---|
committer | M. Dent <dentm42@gmail.com> | 2018-12-15 22:33:03 +0100 |
commit | c854ec068641db3b9fce3e5b9e3ffdc59d8d621e (patch) | |
tree | 9c350b61dd23ec5ce46d01457c587524f65ac224 | |
parent | 3ed6763da9cd34a1124d57928a850d0583cdc023 (diff) | |
parent | 6a825cc504901b6c09724e487f43b5012805c6a0 (diff) | |
download | volse-hubzilla-c854ec068641db3b9fce3e5b9e3ffdc59d8d621e.tar.gz volse-hubzilla-c854ec068641db3b9fce3e5b9e3ffdc59d8d621e.tar.bz2 volse-hubzilla-c854ec068641db3b9fce3e5b9e3ffdc59d8d621e.zip |
Merge branch 'dev' into 'dev'
Update OAuth2Storage.php - fix email retrieval in getUser
See merge request hubzilla/core!1436
-rw-r--r-- | Zotlabs/Identity/OAuth2Storage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Identity/OAuth2Storage.php b/Zotlabs/Identity/OAuth2Storage.php index bbf61cf2b..a4ba9c526 100644 --- a/Zotlabs/Identity/OAuth2Storage.php +++ b/Zotlabs/Identity/OAuth2Storage.php @@ -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'], |