Use filterUsers from the config

This commit is contained in:
Andrew Ruthven 2024-02-03 20:43:20 +13:00
parent b0d01264e0
commit cb287c5abf

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