mirror of
https://github.com/lldap/lldap.git
synced 2024-11-25 09:06:03 +00:00
server: Fix missing lowercasing when changing passwords through LDAP
This commit is contained in:
parent
4ebfd0525b
commit
c08ddecd32
1 changed files with 1 additions and 1 deletions
|
@ -345,7 +345,7 @@ impl<Backend: BackendHandler + LoginHandler + OpaqueHandler> LdapHandler<Backend
|
|||
match (&request.user_identity, &request.new_password) {
|
||||
(Some(user), Some(password)) => {
|
||||
match get_user_id_from_distinguished_name(
|
||||
user,
|
||||
&user.to_ascii_lowercase(),
|
||||
&self.ldap_info.base_dn,
|
||||
&self.ldap_info.base_dn_str,
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue