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

So, is callback after options hash or within? #139

Open wzup opened 8 years ago

wzup commented 8 years ago

It is not clear. You write:

This strategy takes an optional options hash before the function

Your example:

new LocalStrategy({/* options */, callback})