donthedeveloper / site-builder

GNU General Public License v3.0
6 stars 10 forks source link

User auth/login POST route #13

Closed donthedeveloper closed 5 years ago

donthedeveloper commented 5 years ago

This route will get email and password from the body. It will validate the email/password with what's in the db.

Use bycrypt to hash the password that we receive from the user (confirm with whoever is working on the signup feature as that hashing algorithm needs to match) and compare that with the hashed password in the database.

donthedeveloper commented 5 years ago

Benjamin's working on this