Use filterUsers from the config

This commit is contained in:
Andrew Ruthven committed 2024-02-17 02:25:25 +00:00
1 parent b0d01264e0
commit cb287c5abf
1 file changed
+2 -1
+2 -1
View File
@@ -663,7 +663,8 @@ function sync_LDAP_groups(){
&& isset($user_mapping['username'])) {
$query = $ldapDriver->ldap_query_one;
$username_ldap_attribute = $user_mapping['username'];
$filter = "(objectCategory=person)";
$filter = $ldapDriver->filterUsers();
$ldap_members_tmp = array();