mirror of
https://github.com/Ride-The-Lightning/RTL
synced 2024-11-03 23:15:24 +00:00
bea5980c6f
Release 0.12.0
13 lines
368 B
TypeScript
13 lines
368 B
TypeScript
import exprs from 'express';
|
|
const { Router } = exprs;
|
|
import { authenticateUser, verifyToken, resetPassword, logoutUser } from '../../controllers/shared/authenticate.js';
|
|
|
|
const router = Router();
|
|
|
|
router.post('/', authenticateUser);
|
|
router.post('/token', verifyToken);
|
|
router.post('/reset', resetPassword);
|
|
router.get('/logout', logoutUser);
|
|
|
|
export default router;
|