mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-14 10:52:49 +02:00
Merge pull request #3064 from mailcow/oauth-nextcloud
Add identifier to oauth profile
This commit is contained in:
commit
cfa0c8d8a8
@ -14,6 +14,7 @@ if (!empty($mailbox)) {
|
||||
echo json_encode(array(
|
||||
'success' => true,
|
||||
'username' => $token['user_id'],
|
||||
'identifier' => $token['user_id'],
|
||||
'email' => (!empty($mailbox['username']) ? $mailbox['username'] : ''),
|
||||
'full_name' => (!empty($mailbox['name']) ? $mailbox['name'] : 'mailcow administrative user'),
|
||||
'created' => (!empty($mailbox['created']) ? $mailbox['created'] : ''),
|
||||
|
Loading…
Reference in New Issue
Block a user