diff options
author | Pytal <24800714+Pytal@users.noreply.github.com> | 2024-03-12 02:00:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 02:00:31 -0700 |
commit | c42397358f05aa60ae91ed11e7754fddba182cce (patch) | |
tree | 35516f29be436b2fb685dc62512b34c6681ad5db /apps | |
parent | 9a5272870c5d8fd2d0c59bf9a8f1fe223a1ac2fc (diff) | |
parent | 77d2d3cf53b9005fadac8740472aaf620503b6d7 (diff) | |
download | nextcloud-server-c42397358f05aa60ae91ed11e7754fddba182cce.tar.gz nextcloud-server-c42397358f05aa60ae91ed11e7754fddba182cce.zip |
Merge pull request #44140 from nextcloud/fix/subadmin-disabled-users
fix(settings): Fix always empty disabled users list for subadmins
Diffstat (limited to 'apps')
-rw-r--r-- | apps/provisioning_api/lib/Controller/UsersController.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index 3d0cbd43124..1833166a4c6 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -256,7 +256,7 @@ class UsersController extends AUserData { fn (IUser $user): string => $user->getUID(), array_filter( $group->searchUsers('', ($tempLimit === null ? null : $tempLimit - count($users))), - fn (IUser $user): bool => $user->isEnabled() + fn (IUser $user): bool => !$user->isEnabled() ) ) ); |