Remove passport-ldapjs from packpage.json and add warning message

This commit is contained in:
vladimir 2017-03-15 20:26:54 +02:00
parent 2e5def404f
commit 1ca27b6b40
2 changed files with 1 additions and 1 deletions

View file

@ -17,6 +17,7 @@ try {
LdapStrategy = require('passport-ldapjs').Strategy; // eslint-disable-line global-require
} catch (E) {
// ignore
console.warn('Module "passport-ldapjs" not installed. LDAP auth will fail.');
}
module.exports.csrfProtection = csrf({

View file

@ -82,7 +82,6 @@
"npmlog": "^4.0.2",
"openpgp": "^2.4.0",
"passport": "^0.3.2",
"passport-ldapjs": "^1.0.2",
"passport-local": "^1.0.0",
"premailer-api": "^1.0.4",
"redfour": "^1.0.0",