MuscleMate / BackEnd

API for MuscleMate app
3 stars 0 forks source link

Add POST reset password request #17

Closed VEXI19 closed 5 months ago

VEXI19 commented 6 months ago

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

v4m3rrr commented 6 months ago

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?

VEXI19 commented 6 months ago

yes, you're right