MuscleMate / BackEnd

API for MuscleMate app
3 stars 0 forks source link

Add POST fortgot password request #18

Closed VEXI19 closed 6 months ago

VEXI19 commented 7 months ago

Add POST request responsible for sending e-mail to the user with reset password link. You will have to create a temporary token that will be used to reset password.

Example request

POST API_URL/auth/forgot-password

Body

Required:

Response

Send e-mail to the user to the reset password page containing temporary token and user's e-mail as parameters. Response should send {"msg": "Check your e-mail for your reset link"}.