Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Matching] Update regex to match for 'confirm password' #719

Merged
merged 4 commits into from
Dec 19, 2024

Conversation

dbajpeyi
Copy link
Collaborator

@dbajpeyi dbajpeyi commented Dec 13, 2024

Reviewer: @GioSensation
Asana: https://app.asana.com/0/1205996472158114/1208965688770983/f

Description

"Confirm password" doesn't match the newPassword regex test, causing the field type to be password.current. This PR updates the regex, no regression is obvious.

Steps to test

Can be tested on deltamath.com's reset password flow, you need an account (a teacher account is free to create), to trigger the forgot password link.

Screenshot 2024-12-17 at 10 10 18 Screenshot 2024-12-17 at 10 11 03

@dbajpeyi dbajpeyi changed the title fix: update regex to match for 'confirm password' [Matching] Uupdate regex to match for 'confirm password' Dec 16, 2024
@dbajpeyi dbajpeyi changed the title [Matching] Uupdate regex to match for 'confirm password' [Matching] Update regex to match for 'confirm password' Dec 16, 2024
@dbajpeyi dbajpeyi marked this pull request as ready for review December 17, 2024 09:12
Copy link
Member

@GioSensation GioSensation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable. Thank you! Can you please add the form it fixes to the test suite?

@dbajpeyi dbajpeyi force-pushed the dbajpeyi/bug/deltamath.com branch from 46d343d to e062675 Compare December 19, 2024 14:29
@dbajpeyi dbajpeyi force-pushed the dbajpeyi/bug/deltamath.com branch from e062675 to 0fcb65d Compare December 19, 2024 14:31
Copy link
Member

@GioSensation GioSensation left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 🚀

@dbajpeyi dbajpeyi merged commit 46f5159 into main Dec 19, 2024
1 check passed
@dbajpeyi dbajpeyi deleted the dbajpeyi/bug/deltamath.com branch December 19, 2024 14:55
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.

2 participants