jaredhanson / passport

Simple, unobtrusive authentication for Node.js.
https://www.passportjs.org?utm_source=github&utm_medium=referral&utm_campaign=passport&utm_content=about
MIT License
22.86k stars 1.24k forks source link

Clarify possible connect-flash dependency in docs #322

Open oliversalzburg opened 9 years ago

oliversalzburg commented 9 years ago

I tried to integrate passport into our application today, following http://passportjs.org/guide/username-password/

I quickly ended up with TypeError: Object #<IncomingMessage> has no method 'flash' and got somewhat confused.

I believe a small note under the Route section regarding the possible dependency would be nice.

oliversalzburg commented 9 years ago

I later realized that the dependency is mentioned on http://passportjs.org/guide/authenticate/