disable 2fa endpoint

This commit is contained in:
Milo Schwartz
2024-10-02 23:39:07 -04:00
parent 5dd860ef1c
commit f88cb71e62
4 changed files with 91 additions and 1 deletions

View File

@@ -54,3 +54,4 @@ authRouter.post("/login", auth.login);
authRouter.post("/logout", auth.logout);
authRouter.post("/verify-totp", auth.verifyTotp);
authRouter.post("/request-totp-secret", auth.requestTotpSecret);
authRouter.post("/disable-2fa", auth.disable2fa);