diff --git a/lib/Controller/UserController.php b/lib/Controller/UserController.php index 69498a4..f760837 100644 --- a/lib/Controller/UserController.php +++ b/lib/Controller/UserController.php @@ -120,10 +120,6 @@ class UserController extends ASCIMUser { // Do not insert empty entry if (!empty($SCIMUser)) { $SCIMUsers[] = $SCIMUser; - } else { - // Logged user does not have permissions to see this user - // only showing its id - $SCIMUsers[$userId] = ['id' => $userId]; } }