Update passport-ldap

Signed-off-by: Sheogorath <sheogorath@shivering-isles.com>
This commit is contained in:
Sheogorath 2018-06-30 15:04:15 +02:00
parent f51de7f3bb
commit 562985a115
No known key found for this signature in database
GPG Key ID: 1F05CC3635CDDFFD
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ let ldapAuth = module.exports = Router()
passport.use(new LDAPStrategy({ passport.use(new LDAPStrategy({
server: { server: {
url: config.ldap.url || null, url: config.ldap.url || null,
bindDn: config.ldap.bindDn || null, bindDN: config.ldap.bindDn || null,
bindCredentials: config.ldap.bindCredentials || null, bindCredentials: config.ldap.bindCredentials || null,
searchBase: config.ldap.searchBase || null, searchBase: config.ldap.searchBase || null,
searchFilter: config.ldap.searchFilter || null, searchFilter: config.ldap.searchFilter || null,

View File

@ -95,7 +95,7 @@
"passport-github": "^1.1.0", "passport-github": "^1.1.0",
"passport-gitlab2": "^4.0.0", "passport-gitlab2": "^4.0.0",
"passport-google-oauth20": "^1.0.0", "passport-google-oauth20": "^1.0.0",
"passport-ldapauth": "^0.6.0", "passport-ldapauth": "^2.0.0",
"passport-local": "^1.0.0", "passport-local": "^1.0.0",
"passport-oauth2": "^1.4.0", "passport-oauth2": "^1.4.0",
"passport-twitter": "^1.0.4", "passport-twitter": "^1.0.4",