Skip to content

fix(auth): clear errors when switching forms - #143

Merged
LiriothTeltanion merged 1 commit into
mainfrom
fix/auth-mode-feedback-3897-20261127
Nov 27, 2026
Merged

LiriothTeltanion merged 1 commit into
mainfrom
fix/auth-mode-feedback-3897-20261127

Conversation

@LiriothTeltanion

Copy link
Copy Markdown
Owner

Summary

A registration error remained on the login screen after switching forms. Switching modes was also available while the previous form was waiting for a server response.

Changes

  • Clear the previous error when switching between registration and login. Keep the entered fields.
  • Disable the mode switch until the current request finishes. Document the behavior in the exercise README.

Verification

Check Result
Production UI in Edge at 320 and 1440 pixels Both switch directions clear the previous error. Entered values survive the switch. The toggle stays disabled during a delayed request.
Keyboard registration, login and profile editing A corrected form submitted successfully. Saved profile changes survived a page refresh.
Exercise checks Seven server tests passed. The client type check and production build passed.
Repository regression suites 39 JavaScript tests and 99 Python tests passed.

The browser checks used a local server and synthetic accounts. The change is limited to feedback and controls on the authentication form.

@netlify

netlify Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for kevincusnir ready!

Name Link
🔨 Latest commit 35ec740
🔍 Latest deploy log https://app.netlify.com/projects/kevincusnir/deploys/6b095026a2aecf78deee248d
😎 Deploy Preview https://deploy-preview-143--kevincusnir.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@LiriothTeltanion
LiriothTeltanion enabled auto-merge (squash) November 27, 2026 09:40
@LiriothTeltanion
LiriothTeltanion merged commit 685e035 into main Nov 27, 2026
11 checks passed
@LiriothTeltanion
LiriothTeltanion deleted the fix/auth-mode-feedback-3897-20261127 branch November 27, 2026 09:41
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.

1 participant