Skip to content

Commit

Permalink
fix: disable unused session manager (#374)
Browse files Browse the repository at this point in the history
Co-authored-by: Rouke Broersma <mobrockers@gmail.com>
  • Loading branch information
xandervedder and rouke-broersma authored May 22, 2023
1 parent e195ad4 commit bd942c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ export function passportAuthenticateGithub(
res: express.Response,
next: express.NextFunction
) {
return passport.authenticate('github')(req, res, next);
return passport.authenticate('github', { session: false })(req, res, next);
}

0 comments on commit bd942c6

Please sign in to comment.