Fixes the list of users.

This commit is contained in:
Pierre Ozoux 2022-04-29 18:03:24 +02:00
parent f33eb93248
commit ace615aa97

View file

@ -118,7 +118,7 @@ class UserController extends ASCIMUser {
$SCIMUser = $this->getSCIMUser($userId);
// Do not insert empty entry
if (!empty($SCIMUser)) {
$SCIMUsers[$userId] = $SCIMUser;
$SCIMUsers[] = $SCIMUser;
} else {
// Logged user does not have permissions to see this user
// only showing its id