tnc-ca-geo / animl

A platform for managing camera trap data
MIT License
1 stars 0 forks source link

Implement simple user authentication #17

Open nathanielrindlaub opened 4 years ago

nathanielrindlaub commented 4 years ago

Use passport-local module: http://www.passportjs.org/docs/username-password/

nathanielrindlaub commented 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

postfalk commented 4 years ago

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.

postfalk commented 2 years ago

Is that done or stale?