mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-11 13:10:41 +00:00
9 lines
300 B
JavaScript
9 lines
300 B
JavaScript
const AuthenticateController = require("../controllers/authenticate");
|
|
const express = require("express");
|
|
const router = express.Router();
|
|
|
|
router.get("/cookie", AuthenticateController.authenticateUserWithCookie);
|
|
router.post("/", AuthenticateController.authenticateUser);
|
|
|
|
module.exports = router;
|