Browse Source

Update OAuth2Storage.php - fix email retrieval in getUser

(cherry picked from commit 6a825cc504)
disroot_master
Pascal Deklerck 1 year ago
committed by Mario
parent
commit
0e32c86c3d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Zotlabs/Identity/OAuth2Storage.php

+ 1
- 1
Zotlabs/Identity/OAuth2Storage.php View File

@@ -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'],


Loading…
Cancel
Save