mirror of
https://github.com/linuxserver/heimdalljs.git
synced 2026-02-20 05:12:24 +08:00
remove console log
This commit is contained in:
parent
18165a6e2c
commit
14a160dcd8
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user