Login search filter #10

AngryAngryHippos opened this Issue Aug 3, 2013 · 0 comments


None yet
1 participant

I want to do a login search filter by multiple fields, like this:


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);

vesse added a commit to vesse/node-ldapauth-fork that referenced this issue Aug 21, 2013

Use global search/replace for {{username}}
Use global search/replace to allow eg. OR filters
(see trentm/node-ldapauth#10)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment