2
0
mirror of https://github.com/Ride-The-Lightning/RTL synced 2024-11-11 13:10:41 +00:00
RTL/routes/authenticate.js

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;