import { Router } from "express";
import { login, otpDisabled, register } from "../controllers/auth.controller.js";

export const authRouter = Router();

authRouter.post("/register", register);
authRouter.post("/login", login);
authRouter.post("/request-otp", otpDisabled);
authRouter.post("/verify-otp", otpDisabled);
authRouter.post("/forgot-password", (_request, response) => response.json({ message: "Password reset is available through WhatsApp support." }));
