Ride-The-Lightning-RTL/routes/authenticate.js

9 lines
301 B
JavaScript

const AuthenticateController = require("../controllers/authenticate");
const express = require("express");
const router = express.Router();
router.post("/", AuthenticateController.authenticateUser);
router.post("/cookie", AuthenticateController.authenticateUserWithCookie);
module.exports = router;