Commented out the verify route in the auth.ts router

This commit is contained in:
2023-01-15 19:44:58 +01:00
parent db8fec5849
commit f86683f34c

View File

@@ -14,9 +14,9 @@ app.post("/login", async (req: Request, res: Response) => {
res.header("Authorization", session?.token).json({ ...session, message: "Your session got successfully created" }); res.header("Authorization", session?.token).json({ ...session, message: "Your session got successfully created" });
}); });
app.post("/verify", (req: Request, res: Response) => { // app.post("/verify", (req: Request, res: Response) => {
// TODO: Integrate TOTP Verification // // TODO: Integrate TOTP Verification
}); // });
app.post("/logout", async (req: Request, res: Response) => { app.post("/logout", async (req: Request, res: Response) => {
if (validateSchema(res, tokenValidation, req.body)) return; if (validateSchema(res, tokenValidation, req.body)) return;