jaredhanson / passport-local

Username and password authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-local/?utm_source=github&utm_medium=referral&utm_campaign=passport-local&utm_content=about
MIT License
2.74k stars 498 forks source link

fixing bug where no flash messages would trigger #63

Closed lirantal closed 10 years ago

lirantal commented 10 years ago

updating example so that calling flash() should be performed only after passport.initialize and passport.session have been called.

jaredhanson commented 10 years ago

That order shouldn't matter. If it does, it suggests some other problem. Can you provide any details as to why this was failing in your situation?

jaredhanson commented 10 years ago

Unable to reproduce. Closing.