diff options
author | Sheogorath | 2018-06-30 15:04:15 +0200 |
---|---|---|
committer | Sheogorath | 2018-06-30 16:52:33 +0200 |
commit | 562985a115cb62cc380dc5905e8e95d2d41c4a0e (patch) | |
tree | ce3a9408ca2e4cfd212320d4d5c8262e1a927e45 | |
parent | f51de7f3bb55d298cfc50a779d6a8d36a0b6667a (diff) |
Update passport-ldap
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
-rw-r--r-- | lib/web/auth/ldap/index.js | 2 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/web/auth/ldap/index.js b/lib/web/auth/ldap/index.js index ab1cb4cd..8d71c18e 100644 --- a/lib/web/auth/ldap/index.js +++ b/lib/web/auth/ldap/index.js @@ -15,7 +15,7 @@ let ldapAuth = module.exports = Router() passport.use(new LDAPStrategy({ server: { url: config.ldap.url || null, - bindDn: config.ldap.bindDn || null, + bindDN: config.ldap.bindDn || null, bindCredentials: config.ldap.bindCredentials || null, searchBase: config.ldap.searchBase || null, searchFilter: config.ldap.searchFilter || null, diff --git a/package.json b/package.json index afc03772..931385c1 100644 --- a/package.json +++ b/package.json @@ -95,7 +95,7 @@ "passport-github": "^1.1.0", "passport-gitlab2": "^4.0.0", "passport-google-oauth20": "^1.0.0", - "passport-ldapauth": "^0.6.0", + "passport-ldapauth": "^2.0.0", "passport-local": "^1.0.0", "passport-oauth2": "^1.4.0", "passport-twitter": "^1.0.4", |