passport-local-sequelize
passport-local-sequelize copied to clipboard
I cant understant how I can do passport.authenticate
as example
app.post('/login', passport.authenticate('local', {
successRedirect: '/auth/success/',
failureRedirect: '/auth/failure'
}));
It is not work, I've made req.login() manually. I think it should be added in Usage section