|
@@ -15,6 +15,7 @@ if (!empty($mailbox)) {
|
|
echo json_encode(array(
|
|
echo json_encode(array(
|
|
'success' => true,
|
|
'success' => true,
|
|
'username' => $token['user_id'],
|
|
'username' => $token['user_id'],
|
|
|
|
+ 'id' => $token['user_id'],
|
|
'identifier' => $token['user_id'],
|
|
'identifier' => $token['user_id'],
|
|
'email' => (!empty($mailbox['username']) ? $mailbox['username'] : ''),
|
|
'email' => (!empty($mailbox['username']) ? $mailbox['username'] : ''),
|
|
'full_name' => (!empty($mailbox['name']) ? $mailbox['name'] : 'mailcow administrative user'),
|
|
'full_name' => (!empty($mailbox['name']) ? $mailbox['name'] : 'mailcow administrative user'),
|