Skip to content

UX: don't always fill username for forgot password #32646

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

Merged
merged 1 commit into from
May 8, 2025

Conversation

awesomerobot
Copy link
Member

Reported here: https://meta.discourse.org/t/autofill-with-username-in-forgot-password-modal/365310

When hide_email_address_taken is enabled, we don't want to populate the username in the forgot email input, because we require an email address. This will remove username content that doesn't look like an email when that site setting is enabled.

Before (username populated when email required):
image

After (username not populated, email is):
image

image

@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/autofill-with-username-in-forgot-password-modal/365310/2

@awesomerobot awesomerobot merged commit a71a0dc into main May 8, 2025
17 checks passed
@awesomerobot awesomerobot deleted the ux-forgot-pw-email branch May 8, 2025 14:16
@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/daily-summary-1pm-utc/291852/470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants