Posts by Paulo Vitor • 1 point
1 post
-
0
votes0
answers119
viewsQ: Session does not persist using express-Session and Passport.js
When logging in, my user is redirected to another router, only the session is not saved: router.post('/login', passport.authenticate('delegados', { failureRedirect: '/login', failureFlash: true }),…