mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 00:40:14 +01:00
6 lines
146 B
JavaScript
6 lines
146 B
JavaScript
|
|
const passport = require('passport');
|
||
|
|
|
||
|
|
const requireJwtAuth = passport.authenticate('jwt', { session: false });
|
||
|
|
|
||
|
|
module.exports = requireJwtAuth;
|