Skip to content
Snippets Groups Projects
Commit bbfeba72 authored by Gabriel Engel's avatar Gabriel Engel
Browse files

Merge pull request #2247 from inoio/fix-ldap

fix broken ldap when custom filter specifies no userId
parents d863c91e a90dae2d
No related branches found
No related tags found
No related merge requests found
......@@ -142,8 +142,8 @@ LDAP = class LDAP {
return {
filter: custom_domain_search.filter,
domain_search_user: custom_domain_search.userDN,
domain_search_password: custom_domain_search.password
domain_search_user: custom_domain_search.userDN || '',
domain_search_password: custom_domain_search.password || ''
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment