diff --git a/modules/api/api.js b/modules/api/api.js index 461ac63..101f1b0 100644 --- a/modules/api/api.js +++ b/modules/api/api.js @@ -75,7 +75,7 @@ app.use(auth({ authDB: authDB, jsonResponse: true, exceptions: [ - 'favicon', + '/favicon.ico', '/login', '/getveteranpw' ] @@ -146,8 +146,6 @@ app.post('/getpw', function (req, res) { logger.Log(`User #${requestingUser.id} creted new user #${insertRes.lastInsertRowid}`, logger.GetColor('cyan')) - console.log(requestingUser) - res.json({ result: 'success', pw: pw,