diff options
| -rw-r--r-- | routes/users.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/users.js b/routes/users.js index 60f88562..bf4306d5 100644 --- a/routes/users.js +++ b/routes/users.js @@ -34,7 +34,7 @@ const twofa = (req, res, next) => { (typeof token === "undefined" || !authenticator.check(token, user.otpsecret)) ) { - return res.status(401).send("2fa required"); + return res.status(401).send("2FA required"); } else next(); }; @@ -323,7 +323,7 @@ let login = async (req, res) => { (typeof twofa === "undefined" || !authenticator.check(twofa, user.otpsecret)) ) { - return res.status(401).send("2fa required"); + return res.status(401).send("2FA required"); } l( |
