mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
jwt auth for route auth
This commit is contained in:
parent
4849380b73
commit
5040c2189d
1 changed files with 1 additions and 1 deletions
|
|
@ -4,6 +4,6 @@ const jwt = require('../middleware/jwtToken.js');
|
||||||
|
|
||||||
const authController = require('../controllers/auth.js')
|
const authController = require('../controllers/auth.js')
|
||||||
|
|
||||||
router.get("/getActiveAuth", authController.getActive);
|
router.get("/getActiveAuth",jwt.authenticate, authController.getActive);
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
||||||
Loading…
Reference in a new issue