Skip to content

Hide 'newUser' text when registration form is hidden#4

Open
zattak1 wants to merge 1 commit intoQbix:mainfrom
zattak1:fix/hide-newuser-text-on-discourage-multiple-accounts
Open

Hide 'newUser' text when registration form is hidden#4
zattak1 wants to merge 1 commit intoQbix:mainfrom
zattak1:fix/hide-newuser-text-on-discourage-multiple-accounts

Conversation

@zattak1
Copy link
Copy Markdown

@zattak1 zattak1 commented Apr 13, 2026

Summary

  • When the multiple-account discouragement feature hides the registration form fields, the "or create a new account below" text remained visible, creating a dead-end message referencing content that doesn't exist
  • Added a Users_login_newUser class to the newUser div so it can be targeted
  • Included .Users_login_newUser in the selector that hides form elements when localStorage has the register key and dontDiscourageMultipleAccounts is not set

Test plan

  • Enter an email that was previously used to register (triggers emailExists flow)
  • Verify the "or create a new account below" text is hidden along with the registration form fields
  • Verify the "Did you try to register..." and resend button still appear correctly
  • With dontDiscourageMultipleAccounts option set, verify both the text and form fields appear normally

🤖 Generated with Claude Code

…idden

When the multiple-account discouragement feature hides the registration
form fields (fullname block, get started button), the "or create a new
account below" text was still visible, creating a dead-end where the
text references content that doesn't exist.

Added a `Users_login_newUser` class to the newUser div and included it
in the selector that hides form elements when discouraging multiple
accounts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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