From 629a6f4c923f8a8432397d7dbdccdfeceede5e65 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Wed, 6 May 2020 11:21:38 -0700 Subject: [PATCH] Removed console.log line. --- webserver.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/webserver.js b/webserver.js index 75c85e37..16006dfc 100644 --- a/webserver.js +++ b/webserver.js @@ -342,8 +342,6 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) { // Authenticate the user obj.authenticate = function (name, pass, domain, fn) { if ((typeof (name) != 'string') || (typeof (pass) != 'string') || (typeof (domain) != 'object')) { fn(new Error('invalid fields')); return; } - if (!module.parent) console.log('authenticating %s:%s:%s', domain.id, name, pass); - if (domain.auth == 'ldap') { if (domain.ldapoptions.url == 'test') { // Fake LDAP login