Commented out the verify route in the auth.ts router

This commit is contained in:
Mathias Wagner 2023-01-15 19:44:58 +01:00
parent db8fec5849
commit f86683f34c
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

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" });
});
app.post("/verify", (req: Request, res: Response) => {
// TODO: Integrate TOTP Verification
});
// app.post("/verify", (req: Request, res: Response) => {
// // TODO: Integrate TOTP Verification
// });
app.post("/logout", async (req: Request, res: Response) => {
if (validateSchema(res, tokenValidation, req.body)) return;