From 7f82b440a2345d484d4987887e97df2597247b12 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 23 Feb 2018 17:52:16 +0200 Subject: [PATCH] Fix log.warn in ldap --- src/plugins/auth/ldap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/auth/ldap.js b/src/plugins/auth/ldap.js index ab71a549..610a1154 100644 --- a/src/plugins/auth/ldap.js +++ b/src/plugins/auth/ldap.js @@ -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 {