diff --git a/app/modules/web/Controllers/ConfigLdapController.php b/app/modules/web/Controllers/ConfigLdapController.php index 0a43f5b2..fe8a1194 100644 --- a/app/modules/web/Controllers/ConfigLdapController.php +++ b/app/modules/web/Controllers/ConfigLdapController.php @@ -267,10 +267,7 @@ final class ConfigLdapController extends SimpleControllerBase $userLdapService = $this->dic->get(LdapImportService::class); $userLdapService->importUsers($ldapParams, $ldapImportParams); - $filter = $this->request->analyzeString('ldap_import_filter'); - - // Groups won't be imported if filter is set - if ($checkImportGroups === true && empty($filter)) { + if ($checkImportGroups === true) { $userLdapService->importGroups($ldapParams, $ldapImportParams); }