passport-local-sequelize icon indicating copy to clipboard operation
passport-local-sequelize copied to clipboard

I cant understant how I can do passport.authenticate

Open xuxicheta opened this issue 7 years ago • 0 comments

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

xuxicheta avatar Jan 30 '18 13:01 xuxicheta