Open nathanielrindlaub opened 4 years ago
Read through this blog post on pw authentication with mongoose - might be relevant: https://www.mongodb.com/blog/post/password-authentication-with-mongoose-part-1
Shouldn't be irrelevant. In the logic that returns true or false for authentication you could issue a database query and check whether you have a record with the username and password hash provided.
Is that done or stale?
Use passport-local module: http://www.passportjs.org/docs/username-password/