Removed console.log line.
Ylian Saint-Hilaire committed
May 6, 2020 at 11:21 UTC
629a6f4c923f8a8432397d7dbdccdfeceede5e65
1 file changed
-2
webserver.js
-2
@@ -342,8 +342,6 @@ module.exports.CreateWebServer = function (parent, db, args, certificates) {
342
// Authenticate the user
343
obj.authenticate = function (name, pass, domain, fn) {
344
if ((typeof (name) != 'string') || (typeof (pass) != 'string') || (typeof (domain) != 'object')) { fn(new Error('invalid fields')); return; }
345
- if (!module.parent) console.log('authenticating %s:%s:%s', domain.id, name, pass);
346
-
345
if (domain.auth == 'ldap') {
346
if (domain.ldapoptions.url == 'test') {
347
// Fake LDAP login