From 14a160dcd84db36a2ff74246cfd1452c64109d32 Mon Sep 17 00:00:00 2001 From: alex-phillips Date: Mon, 24 Feb 2020 16:00:15 -0500 Subject: [PATCH] remove console log --- routes/users.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/users.js b/routes/users.js index 58373e1..46ce991 100644 --- a/routes/users.js +++ b/routes/users.js @@ -119,7 +119,7 @@ router.put('/', upload.single('avatar'), async (req, res, next) => { * ALWAYS DELETE totp, this should only be set by the server. */ delete req.body.totpSecret - console.log(req.body) + // Begin process to set up and confirm multi-factor authentication if (req.user.multifactorEnabled === false && !!req.body.multifactorEnabled === true) { const secret = Speakeasy.generateSecret()