We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
It looks like the signature of the function Strategy does not respect the standard. For example : https://github.com/jaredhanson/passport-local/blob/master/lib/strategy.js
The first parameter is the options and the second one is the verify. When using passport.use, the definition should be
passport.use(options, new CustomStrategy(....))
Would you appreciate a PR on this and release a new major version of the passport-custom with this breaking-change ?
The text was updated successfully, but these errors were encountered:
Sure addd the PR
Sorry, something went wrong.
No branches or pull requests
Hi,
It looks like the signature of the function Strategy does not respect the standard.
For example : https://github.com/jaredhanson/passport-local/blob/master/lib/strategy.js
The first parameter is the options and the second one is the verify.
When using passport.use, the definition should be
Would you appreciate a PR on this and release a new major version of the passport-custom with this breaking-change ?
The text was updated successfully, but these errors were encountered: