Ride-The-Lightning-RTL/routes/authenticate.js
Shahana Farooqui 3a40bd9748 Google authenticator integration PR-266
Google authenticator integration PR-266
2020-03-18 21:48:53 -04:00

9 lines
346 B
JavaScript

const AuthenticateController = require("../controllers/authenticate");
const express = require("express");
const router = express.Router();
router.post("/", AuthenticateController.authenticateUser);
router.post("/token", AuthenticateController.verifyToken);
router.post("/reset", AuthenticateController.resetPassword);
module.exports = router;