From 562985a115cb62cc380dc5905e8e95d2d41c4a0e Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Sat, 30 Jun 2018 15:04:15 +0200 Subject: [PATCH] Update passport-ldap Signed-off-by: Sheogorath --- lib/web/auth/ldap/index.js | 2 +- 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 ab1cb4cd4..8d71c18eb 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 afc037727..931385c13 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",