Typo in website documentation #64

Closed
olalonde opened this Issue Oct 4, 2012 · 1 comment

Projects

None yet

2 participants

@olalonde

http://passportjs.org/guide/username-password.html

app.post('/login',
  passport.authenticate('local', { successRedirect: '/',
                                   failureRedirect: '/login',
                                   failureFlash: true });
);

should be

app.post('/login',
  passport.authenticate('local', { successRedirect: '/',
                                   failureRedirect: '/login',
                                   failureFlash: true })
);

failureFlash: true }) and instead of failureFlash: true });

@jaredhanson
Owner

Fixed. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment