Closed VEXI19 closed 5 months ago
Add POST request responsible for reseting password.
POST API_URL/auth/reset-password
Response should send {"msg": "Password has been changed"}.
But if I have a token, I don't need an email (because I can retrieve the user ID from the token); only the new password and token is required, right?
yes, you're right
Add POST request responsible for reseting password.
Example request
POST API_URL/auth/reset-password
Body
Required:
Response
Response should send {"msg": "Password has been changed"}.