Commented out the verify route in the auth.ts router
This commit is contained in:
parent
db8fec5849
commit
f86683f34c
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user