update: auth routes
This commit is contained in:
11
routes/auth.route.js
Normal file
11
routes/auth.route.js
Normal 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;
|
||||||
Reference in New Issue
Block a user