feat: LDAP debug flag
This commit is contained in:
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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user