update: auth routes

This commit is contained in:
2025-09-26 11:05:49 +07:00
parent 050529cf78
commit 7b2509ffa1

11
routes/auth.route.js Normal file
View File

@@ -0,0 +1,11 @@
const express = require('express');
const authController = require("../controllers/auth.controller");
const router = express.Router();
router.post('/login', authController.login);
router.post('/register', authController.register);
router.get('/generate-captcha', authController.generateCaptcha);
// router.post('/verify-captcha', authController.verifyCaptcha);
module.exports = router;