Skip to content

add resetting password flow#104

Open
ItsEricSun wants to merge 2 commits intomainfrom
99-Password-Reset-Email-Comms-(Barebones)
Open

add resetting password flow#104
ItsEricSun wants to merge 2 commits intomainfrom
99-Password-Reset-Email-Comms-(Barebones)

Conversation

@ItsEricSun
Copy link
Copy Markdown
Contributor

Description

Added the flow for resetting password.
Created a new ResetPasswordPage, which contains a ResetPasswordComponent that has the 3 fields needed to reset password.
Added checking for email registration to the /forgotPassword endpoint.
Added cognito confirmation code error handling to the /confirmPassword endpoint.
Added two new methods, forgotPassword and confirmPassword which call the corresponding API endpoints.
Added /reset-password page which goes to the ResetPasswordPage component

Changes Made

  • Backend changes
  • Frontend changes
  • Database schema changes
  • Configuration updates
  • Other

Testing & Verification

  • Unit tests pass
  • Manual testing completed
  • No breaking changes

Verification Steps:

If account doesn't exist in DB
image
If email is registered, a code gets sent to email
image
Password has to meet criteria
image
image
Using wrong code
image
On successful password reset
image
And can login with new password
image

Future Improvements/Notes

Instead of expanding ConfirmSentEmailPage.tsx, I made a new ResetPasswordPage.tsx because that name fits what that page does better. So ConfirmSentEmailPage isn't being used anymore. This component could be left in or just deleted.

Related Issues

Closes #99

@ItsEricSun ItsEricSun self-assigned this Apr 4, 2026
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.

Password Reset Email Comms (Barebones)

1 participant