feat: LDAP debug flag

This commit is contained in:
Nick committed 2019-06-04 22:23:32 -04:00
1 parent 3d73ff5d42
commit 922f179a90
7 files changed
+18 -12

No files matched your search

@@ -45,6 +45,9 @@ module.exports = {
})
cb(null, user)
} catch (err) {
if (WIKI.config.flags.ldapdebug) {
WIKI.logger.warn('LDAP LOGIN ERROR (c2): ', err)
}
cb(err, null)
}
}