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 {