Skip to content

Add Forgot Password and Password Reset Functionality#1103

Open
HimasreeKolathur24 wants to merge 1 commit into
Charushi06:mainfrom
HimasreeKolathur24:issue/my-observed-bug
Open

Add Forgot Password and Password Reset Functionality#1103
HimasreeKolathur24 wants to merge 1 commit into
Charushi06:mainfrom
HimasreeKolathur24:issue/my-observed-bug

Conversation

@HimasreeKolathur24

@HimasreeKolathur24 HimasreeKolathur24 commented Jun 8, 2026

Copy link
Copy Markdown

Related Issue

Closes #1115

Summary

Implemented a Forgot Password and Password Reset workflow for the authentication system. Users can now reset their password through a dedicated reset password modal instead of being locked out when they forget their credentials.

Changes Made

  • Added a "Forgot Password?" link to the login modal.
  • Created a Reset Password modal with a UI consistent with the existing authentication design.
  • Added frontend validation for password reset fields.
  • Implemented password confirmation validation.
  • Added a backend /api/auth/reset-password endpoint.
  • Implemented password update functionality for existing users.
  • Added modal close functionality using the × button.
  • Added automatic field clearing after successful password reset.
  • Added success feedback after password reset.

Testing

  • Tested password reset for existing users.
  • Tested password mismatch validation.
  • Tested reset attempts with non-existent users.
  • Verified successful login using the updated password.
  • Verified old password no longer works after reset.
  • Tested modal open and close functionality.
  • Tested UI behavior and responsiveness locally.

Screenshots

Login Modal with Forgot Password Link

Screenshot 2026-06-08 151150

Reset Password Modal

Screenshot 2026-06-08 151158

Password Reset Success Flow

Screenshot 2026-06-08 151334

Checklist

  • Code follows project style
  • Tested locally
  • No unrelated changes included
  • Documentation updated (if applicable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add Forgot Password and Password Reset Functionality

1 participant