Merge pull request #2106 from thelounge/xpaw/logwarn

Fix log.warn in ldap
This commit is contained in:
Jérémie Astori 2018-02-23 19:11:47 -05:00 committed by GitHub
commit 9e28c0d541
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,7 +77,7 @@ function advancedLdapAuth(user, password, callback) {
} else {
ldapclient.search(base, searchOptions, function(err2, res) {
if (err2) {
log.warning(`User not found: ${userDN}`);
log.warn(`User not found: ${userDN}`);
ldapclient.unbind();
callback(false);
} else {