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

removing error when resubmitting #20

Merged

Conversation

devsetgo
Copy link
Owner

@devsetgo devsetgo commented May 20, 2024

Title: Remove Error Message on Resubmission in User Edit Endpoint

This pull request addresses an issue where an error message persisted in the session even after resubmitting a form in the user edit endpoint. By explicitly removing the 'error-message' from the session before handling the form data, we ensure that users will not see outdated error messages if they resubmit the form successfully.

This change improves user experience by preventing confusion caused by lingering error messages and makes the error handling in the application more robust and intuitive.

@devsetgo devsetgo added the bug Something isn't working label May 20, 2024
@devsetgo devsetgo merged commit 566e2fc into v2Dev May 20, 2024
1 of 2 checks passed
Copy link

sonarcloud bot commented May 20, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@devsetgo devsetgo deleted the 19-update-user-information-error-message-not-clearing branch May 20, 2024 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant