mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2025-01-20 04:59:27 +02:00
OAuth: add displayName attribute to profile for Nextcloud compatibility
This commit is contained in:
parent
3929b07380
commit
1db4d3d747
@ -17,6 +17,7 @@ if (!empty($mailbox)) {
|
||||
'identifier' => $token['user_id'],
|
||||
'email' => (!empty($mailbox['username']) ? $mailbox['username'] : ''),
|
||||
'full_name' => (!empty($mailbox['name']) ? $mailbox['name'] : 'mailcow administrative user'),
|
||||
'displayName' => (!empty($mailbox['name']) ? $mailbox['name'] : 'mailcow administrative user'),
|
||||
'created' => (!empty($mailbox['created']) ? $mailbox['created'] : ''),
|
||||
'modified' => (!empty($mailbox['modified']) ? $mailbox['modified'] : ''),
|
||||
'active' => (!empty($mailbox['active']) ? $mailbox['active'] : ''),
|
||||
|
Loading…
x
Reference in New Issue
Block a user