chicommons / maps

MIT License
5 stars 17 forks source link

Frontend: Password Reset Page #232

Open domdelorenzo opened 2 months ago

domdelorenzo commented 2 months ago

We need a page that allows a user to reset their password by email.

The associated api endpoint is the password_reset (/api/v1/password_reset/)

I believe this endpoint accepts a single field ("email") in the following form:

{
  "email": "test@test.com"
}

but please test and confirm. If the email is associated with a user account (you can create demo users in the Django admin dash) you should get a 200 response with "message": "Password reset link has been sent to your email." Otherwise, the api should return a 404 with "error": "User not found."

maxgraziano commented 1 month ago

Duplicate of #163?