finished totp endpoints

This commit is contained in:
Milo Schwartz 2024-10-02 21:55:49 -04:00
parent 180a2a6d3f
commit 7c4aa22efb
10 changed files with 126 additions and 534 deletions

View file

@ -47,4 +47,5 @@ unauthenticated.use("/auth", authRouter);
authRouter.put("/signup", auth.signup);
authRouter.post("/login", auth.login);
authRouter.post("/logout", auth.logout);
authRouter.post("/verify-totp", auth.logout);
authRouter.post("/verify-totp", auth.verifyTotp);
authRouter.post("/request-totp-secret", auth.requestTotpSecret);