Ride-The-Lightning-RTL/routes/authenticate.js
2019-02-23 16:32:01 -05:00

9 lines
284 B
JavaScript

const AuthenticateController = require("../controllers/authenticate");
const express = require("express");
const router = express.Router();
router.get("/:pwd", AuthenticateController.redirectUser);
router.post("/", AuthenticateController.authenticateUser);
module.exports = router;