This commit is contained in:
Uwe Steinmann 2024-09-04 22:07:49 +02:00
parent 2c8054512b
commit 36477ca71d

View File

@ -170,7 +170,7 @@ class SeedDMS_LdapAuthentication extends SeedDMS_Authentication {
if($settings->_enableLoginByEmail) {
$ldapsearchterm = "|(".$ldapsearchterm.")(mail=".$username.")";
}
/* If a ldap filter is set, it will be anded */
/* If a ldap filter is set, it will be added */
if($settings->_ldapFilter) {
$ldapsearchterm = "&(".$ldapsearchterm.")".$settings->_ldapFilter;
}