Explorar el Código

fix(settings): Fix always empty disabled users list for subadmins

Signed-off-by: Christopher Ng <chrng8@gmail.com>
tags/v29.0.0beta2
Christopher Ng hace 3 meses
padre
commit
77d2d3cf53
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      apps/provisioning_api/lib/Controller/UsersController.php

+ 1
- 1
apps/provisioning_api/lib/Controller/UsersController.php Ver fichero

@@ -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()
)
)
);

Cargando…
Cancelar
Guardar