mirror of
https://github.com/GithubOrgProjectPiza/server.git
synced 2026-09-05 07:36:02 +02:00
Fix auth system
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import { Router } from "express";
|
||||
import { register } from "../controller/auth.controller";
|
||||
import { authenthicate, register } from "../controller/auth.controller";
|
||||
import { getAuthenthication } from "../middleware/auth.middle";
|
||||
|
||||
const router = Router();
|
||||
|
||||
router.post("/register", getAuthenthication, register);
|
||||
router.post("/authenthicate",authenthicate);
|
||||
|
||||
export default router;
|
||||
|
||||
Reference in New Issue
Block a user