Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(profile): Prevent autofill on header search bar #7688

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

Open
Wingqvist wants to merge 1 commit into requarks:main
base: main
Choose a base branch
Loading
from Wingqvist:fix/profile-autofill

Conversation

Copy link

@Wingqvist Wingqvist commented Jun 30, 2025
edited
Loading

This commit resolves the recurring issue where password managers incorrectly autofill the header search bar when viewing the user profile page.

This is achieved by wrapping the password change fields in a

element, properly scoping them for browser autofill logic, and using modern, standard autocomplete attributes. This addresses the root cause of the issue, whereas previous attempts tried to mitigate the symptom in the search bar.

Fixes #2324
Fixes #3104
Fixes #3327

H3xaChad reacted with thumbs up emoji
This commit resolves the recurring issue where password managers
incorrectly autofill the header search bar when viewing the user
profile page.
This is achieved by wrapping the password change fields in a <form>
element, properly scoping them for browser autofill logic, and using
modern, standard `autocomplete` attributes. This addresses the root
cause of the issue, whereas previous attempts tried to mitigate the
symptom in the search bar.
Fixes requarks#2324
Closes requarks#3327 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@NGPixel NGPixel Awaiting requested review from NGPixel

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

When I click "Profile", it automatically searches my email Email address saved in Chrome keeps getting autofilled to top search bar

AltStyle によって変換されたページ (->オリジナル) /