From c7aff0ab64bc018fca8f29d02db9e6738a16d58d Mon Sep 17 00:00:00 2001 From: Bill Church Date: Fri, 15 Nov 2019 12:57:51 -0500 Subject: [PATCH] feat(auth): username and password may now be sourced from config.json fixes #104 --- app/server/util.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/server/util.js b/app/server/util.js index 847df3f..14d3e63 100644 --- a/app/server/util.js +++ b/app/server/util.js @@ -26,8 +26,6 @@ exports.basicAuth = function basicAuth (req, res, next) { req.session.username = defaultCredentials.username; req.session.userpassword = defaultCredentials.password; } - console.log("req.session: " +req.session.username + " pass: " + req.session.userpassword); - console.log("def: " +defaultCredentials.username + " pass: " + defaultCredentials.password); if (!req.session.userpassword) { res.statusCode = 401 debug('basicAuth credential request (401)')