Remove passport-ldapjs from packpage.json and add warning message
This commit is contained in:
parent
2e5def404f
commit
1ca27b6b40
2 changed files with 1 additions and 1 deletions
|
@ -17,6 +17,7 @@ try {
|
||||||
LdapStrategy = require('passport-ldapjs').Strategy; // eslint-disable-line global-require
|
LdapStrategy = require('passport-ldapjs').Strategy; // eslint-disable-line global-require
|
||||||
} catch (E) {
|
} catch (E) {
|
||||||
// ignore
|
// ignore
|
||||||
|
console.warn('Module "passport-ldapjs" not installed. LDAP auth will fail.');
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports.csrfProtection = csrf({
|
module.exports.csrfProtection = csrf({
|
||||||
|
|
|
@ -82,7 +82,6 @@
|
||||||
"npmlog": "^4.0.2",
|
"npmlog": "^4.0.2",
|
||||||
"openpgp": "^2.4.0",
|
"openpgp": "^2.4.0",
|
||||||
"passport": "^0.3.2",
|
"passport": "^0.3.2",
|
||||||
"passport-ldapjs": "^1.0.2",
|
|
||||||
"passport-local": "^1.0.0",
|
"passport-local": "^1.0.0",
|
||||||
"premailer-api": "^1.0.4",
|
"premailer-api": "^1.0.4",
|
||||||
"redfour": "^1.0.0",
|
"redfour": "^1.0.0",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue