Skip to content

Commit 562985a

Browse files
committed
Update passport-ldap
Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
1 parent f51de7f commit 562985a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/web/auth/ldap/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let ldapAuth = module.exports = Router()
1515
passport.use(new LDAPStrategy({
1616
server: {
1717
url: config.ldap.url || null,
18-
bindDn: config.ldap.bindDn || null,
18+
bindDN: config.ldap.bindDn || null,
1919
bindCredentials: config.ldap.bindCredentials || null,
2020
searchBase: config.ldap.searchBase || null,
2121
searchFilter: config.ldap.searchFilter || null,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
"passport-github": "^1.1.0",
9696
"passport-gitlab2": "^4.0.0",
9797
"passport-google-oauth20": "^1.0.0",
98-
"passport-ldapauth": "^0.6.0",
98+
"passport-ldapauth": "^2.0.0",
9999
"passport-local": "^1.0.0",
100100
"passport-oauth2": "^1.4.0",
101101
"passport-twitter": "^1.0.4",

0 commit comments

Comments
 (0)