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

passReqToCallback missing in docs #101

Closed fmalk closed 9 years ago

fmalk commented 9 years ago

I was reading http://passportjs.org/guide/username-password/ and stuck trying to send domain info along my custom LocalStrategy, and only by looking at source code I found the passReqToCallback feature. Page guide should be updated to document it.

GochoMugo commented 9 years ago

Yeah it should. A pull request?

fmalk commented 9 years ago

Will do.

fmalk commented 9 years ago

Couldn't find how to edit passportjs.org directly, so I updated passport-local README.md

GochoMugo commented 9 years ago

:+1: That's just awesome