[Web, oAuth2] Add id parameter to profile.php (#4235)
Sending $token['user_id'] also as 'id' in the arraymaster
parent
913e9cbb11
commit
62fbaf8248
|
@ -15,6 +15,7 @@ if (!empty($mailbox)) {
|
|||
echo json_encode(array(
|
||||
'success' => true,
|
||||
'username' => $token['user_id'],
|
||||
'id' => $token['user_id'],
|
||||
'identifier' => $token['user_id'],
|
||||
'email' => (!empty($mailbox['username']) ? $mailbox['username'] : ''),
|
||||
'full_name' => (!empty($mailbox['name']) ? $mailbox['name'] : 'mailcow administrative user'),
|
||||
|
|
Loading…
Reference in New Issue