Skip to content

Implement Forgot Password Endpoint #25

@ayshadogo

Description

@ayshadogo

Description:
Allow users to request a password reset via email.

Tasks:

  • Create POST /api/auth/forgot-password
  • Find user by email (always return 200 to avoid user enumeration)
  • Generate a secure reset token and save its hash + expiry to the user document
  • Send password reset email with the token link

Acceptance Criteria:
An email with a reset link is sent if the email exists in the system.


Metadata

Metadata

Assignees

Labels

Beta-CampaignGrantFox beta test Campaign

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions