Makes emails an array.
This commit is contained in:
parent
2d5760160a
commit
f33eb93248
1 changed files with 2 additions and 0 deletions
|
@ -100,8 +100,10 @@ abstract class ASCIMUser extends ApiController {
|
||||||
'userName' => $userId,
|
'userName' => $userId,
|
||||||
'displayName' => $targetUserObject->getDisplayName(),
|
'displayName' => $targetUserObject->getDisplayName(),
|
||||||
'emails' => [
|
'emails' => [
|
||||||
|
[
|
||||||
'primary' => true,
|
'primary' => true,
|
||||||
'value' => $targetUserObject->getSystemEMailAddress()
|
'value' => $targetUserObject->getSystemEMailAddress()
|
||||||
|
]
|
||||||
],
|
],
|
||||||
//'groups' => [],
|
//'groups' => [],
|
||||||
'active' => (bool) $this->config->getUserValue($userId, 'core', 'enabled', 'true') === 'true'
|
'active' => (bool) $this->config->getUserValue($userId, 'core', 'enabled', 'true') === 'true'
|
||||||
|
|
Loading…
Reference in a new issue