-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Description
I want to do a login search filter by multiple fields, like this:
'(|(sAMAccountName={{username}})(mail={{username}}))'
When I try it, it only allows login by the first critera, in this case, sAMAccountName. I narrowed the bug down to ldapauth.js line 118 - just needs to be a global search and replace:
var searchFilter = self.opts.searchFilter.replace(/{{username}}/g, username);
Metadata
Metadata
Assignees
Labels
No labels