Commit b99589fc by Johannes Zellner

Support username and email login

This change is required for the username !== userId cloudron change
1 parent 2220fe14
Showing with 1 additions and 1 deletions
......@@ -37,7 +37,7 @@ var opts = {
},
base: LDAP_USERS_BASE_DN,
search: {
filter: '(uid={{username}})',
filter: '(|(username={{username}})(mail={{username}}))',
attributes: ['displayname', 'username', 'mail', 'uid'],
scope: 'sub'
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!