Skip to content

Implement Reset Password Endpoint #369

Description

@ayshadogo

Description:
Allow users to reset their password using the token from the reset email.

Tasks:

  • Create PATCH /api/auth/reset-password/:token
  • Validate the token against the stored hash and check expiry
  • Hash the new password and update the user document
  • Invalidate the reset token and all existing refresh tokens

Acceptance Criteria:
Valid token resets password; expired/invalid token returns 400.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

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