feat(controllers): Refactor AuthController and update router reference
- Revised comments replacing 'TODO' with 'FIX' and 'FEAT' in AuthController. - Renamed 'AuthController.ts' to 'auth.controller.ts' and updated the reference in the router. - Planned for implementing re-auth by current password in case of password change. Signed-off-by: Mathis <yidhra@tuta.io>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import express, {type Router} from "express";
|
||||
import UserGuard from "@validators/UserGuard";
|
||||
import AdminGuard from "@validators/AdminGuard";
|
||||
import AuthController from "@controllers/AuthController";
|
||||
import AuthController from "@controllers/auth.controller";
|
||||
|
||||
|
||||
const router: Router = express.Router();
|
||||
|
||||
Reference in New Issue
Block a user