[Bugfix:System] Fix Sign Up form clearing fields on error#12491
Closed
sushen123 wants to merge 1 commit into
Closed
[Bugfix:System] Fix Sign Up form clearing fields on error#12491sushen123 wants to merge 1 commit into
sushen123 wants to merge 1 commit into
Conversation
IDzyre
requested changes
Mar 9, 2026
IDzyre
left a comment
Member
There was a problem hiding this comment.
Please add to the Cypress tests to verify functionality.
aconfo
self-requested a review
March 10, 2026 21:35
Contributor
|
@sushen123 are you actively working on this issue? If you're busy with other tasks, I’m happy to take it over and drive it to completion. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #12491 +/- ##
=========================================
Coverage 21.66% 21.66%
Complexity 9638 9638
=========================================
Files 268 268
Lines 36233 36233
Branches 486 486
=========================================
Hits 7849 7849
Misses 27902 27902
Partials 482 482
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
aconfo
removed their request for review
March 13, 2026 21:27
Member
|
Closing due to inactivity. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why is this Change Important & Necessary?
Closes #12490
When email or user ID validation fails on the Sign Up form, the server-side redirect clears all fields, forcing users to re-enter everything. This is frustrating, especially when only one field is invalid.
What is the New Behavior?
Added client-side validation for email and user ID fields on the Sign Up form. Invalid inputs are now caught before the form submits, so the page stays put and all fields are preserved. Error messages match the existing server-side messages.
What steps should a reviewer take to reproduce or test the bug or new feature?
localhost:1511/authentication/create_account[email protected]) → error toast appears, fields are preservedAutomated Testing & Documentation
Other information