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:
email
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"}.
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"}.