Jade-Marte / final-project

2 stars 2 forks source link

Login system #17

Closed seanc closed 3 years ago

seanc commented 3 years ago

This is an endpoint on the node API server that should include the following functionality:

  1. Find a user by email, retrieve their saved password
  2. Check the inputted password against the saved password by hashing the inputted password and comparing it against the saved password
  3. If the same, create then send a token
  4. If not the same, send an error
Jade-Marte commented 3 years ago

complete