Skip to content

Add Change Password Endpoint #378

Description

@ayshadogo

Description:
Allow authenticated users to change their own password.

Tasks:

  • Create PATCH /api/auth/change-password
  • Require authentication
  • Validate currentPassword and newPassword
  • Verify current password; return 401 if incorrect
  • Hash and update new password; invalidate all refresh tokens

Acceptance Criteria:
Authenticated user can change password; wrong current password returns 401.


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions