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

Error of running "adduser" grunt task #56

Closed danielfttorres closed 10 years ago

danielfttorres commented 10 years ago

In 'express3-mongoose-multiple-files' example, I see the error message after run 'adduser' grunt task: Error: ValidationError: Validator "required" failed for path password, Validator "required" failed for path email, Validator "required" failed for path username

It's a bug or similar? How I add user with grunt task?

danielfttorres commented 10 years ago

Solved after see in the 'Gruntfile.js' a command: 'adduser:admin:admin@example.com:secret:true'. I put the parameters and run successfully. I think this must be explicited in README, this will help to initiate.