adarsh-a-tw / passwordly

0 stars 0 forks source link

Change Password API #5

Closed adarsh-a-tw closed 1 year ago

adarsh-a-tw commented 1 year ago

Given I am an user, I should be able to change my password.

adarsh-a-tw commented 1 year ago

PATCH Endpoint -> /users/me/password with current and new password Expected Response: 200 OK Expected Response 2: 400 Bad Request with Error Message for current password mismatch and new password validation fails

New password validation: