Duplicated from reonjy/ai
3b6afc0
1
2
3
4
5
6
const passport = require('passport'); const requireJwtAuth = passport.authenticate('jwt', { session: false }); module.exports = requireJwtAuth;