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

Set Autocomplete Off on Login Form - Main #44926

Closed
wants to merge 29 commits into from

Conversation

geraj1010
Copy link
Contributor

closes: #44019

Updated main Javascript to apply autocomplete="off" to both username and password inputs on login page. This will help prevent the browser from providing hints for the username (and password), as requested in the Issue.

Based on Flask-AppBuilder source code, i.e. https://github.com/dpgaspar/Flask-AppBuilder/tree/master/flask_appbuilder/templates/appbuilder/general/security (see login_db.html and login_ldap.html), this should work for both AUTH_DB (default) and AUTH_LDAP authentication, since they both apparently use the same HTML elements in the form.

@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Dec 13, 2024
@geraj1010 geraj1010 changed the title Airflow 44019 main Set Autocomplete Off on Login Form - Main Dec 13, 2024
@geraj1010 geraj1010 changed the base branch from main to sync_v2_10_test December 14, 2024 00:07
@geraj1010 geraj1010 changed the base branch from sync_v2_10_test to main December 14, 2024 00:07
@geraj1010 geraj1010 closed this Dec 14, 2024
@geraj1010
Copy link
Contributor Author

Irrelevant commits are here, closing to resolve this.

@geraj1010 geraj1010 reopened this Dec 14, 2024
@geraj1010 geraj1010 closed this Dec 14, 2024
@geraj1010 geraj1010 deleted the airflow_44019_main branch December 14, 2024 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autocomplete Attribute Not Disabled for Password Fields in Login Forms
1 participant