mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
ldap_get_entries() returns lower case keys
This commit is contained in:
parent
226b839baa
commit
a429cc436f
|
@ -199,7 +199,7 @@ class SeedDMS_LdapAuthentication extends SeedDMS_Authentication {
|
|||
if (!is_bool($info) && $info["count"]>0) {
|
||||
$dn = $info[0]['dn'];
|
||||
/* Set username to login name in case the email was used for authentication */
|
||||
$username = $info[0][$ldapSearchAttribut][0];
|
||||
$username = $info[0][strtolower($ldapSearchAttribut)][0];
|
||||
}
|
||||
}
|
||||
} elseif(!empty($settings->_enableLoginByEmail)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user