Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var passportShit = app.post('/signup', passport.authenticate('local-signup', {
- successRedirect : '/profile', // redirect to the secure profile section
- failureRedirect : '/signup', // redirect back to the signup page if there is an error
- failureFlash : true // allow flash messages
- }));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement