timroesner/HotelHopper

Forgot password through passport.js

Closed this issue · 0 comments

Create an endpoint that takes an email address as parameter, which triggers an email with a password reset link that will be send to this email, if we have a registered user with that address.

We also need another endpoint that takes the new password and resets it for that user.