Open merison200 opened 4 months ago
Create an API endpoint that allows users to update their passwords with input validation and proper security measures.
<token>
{ “current_password”: “CurrentPassword123", “new_password”: “NewPassword123" }
{ “status”: “success”, “message”: “Password updated successfully” }
{ “status”: “unsuccessful”, “message”: “field must be provided” }
{ “status_code”: 400, “message”: “Current password is incorrect” }
{ “status_code”: 400, “message”: “New password does not meet security requirements”, “error”: “Bad Request” }
Provides a secure backend service that allows users to update their passwords.
Please use the guidelines for PRs
Description
Create an API endpoint that allows users to update their passwords with input validation and proper security measures.
Acceptance Criteria
<token>
Purpose
Provides a secure backend service that allows users to update their passwords.
Requirements
Expected Outcome
Tasks
Testing