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.73k stars 498 forks source link

Cannot overwrite badRequestMessage #176

Open sergivillar opened 5 years ago

sergivillar commented 5 years ago

Hi guys, it is impossible to overwrite this custom file in order to change the 'Missing credential' default value, I think the problem is that 'options' object is not passed to Passport constructor, also this options object does not exist in the @types. Could you help me?

Thanks