Skip to content

Commit c423973

Browse files
authored
Merge pull request #44140 from nextcloud/fix/subadmin-disabled-users
fix(settings): Fix always empty disabled users list for subadmins
2 parents 9a52728 + 77d2d3c commit c423973

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/provisioning_api/lib/Controller/UsersController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ public function getDisabledUsersDetails(?int $limit = null, int $offset = 0): Da
256256
fn (IUser $user): string => $user->getUID(),
257257
array_filter(
258258
$group->searchUsers('', ($tempLimit === null ? null : $tempLimit - count($users))),
259-
fn (IUser $user): bool => $user->isEnabled()
259+
fn (IUser $user): bool => !$user->isEnabled()
260260
)
261261
)
262262
);

0 commit comments

Comments
 (0)