remove console log

This commit is contained in:
alex-phillips 2020-02-24 16:00:15 -05:00
parent 18165a6e2c
commit 14a160dcd8

View File

@ -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()