mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-20 14:35:10 +02:00
Merge pull request #2106 from thelounge/xpaw/logwarn
Fix log.warn in ldap
This commit is contained in:
commit
9e28c0d541
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue