summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-05-12 06:00:11 +0000
committerGerrit Code Review <review@openstack.org>2023-05-12 06:00:11 +0000
commite70464e2a133fdae375bc1813992e7ae6635831f (patch)
treeadcdf0013feaba8a7f94d9376a6b2d8a2bf6e59f
parentc10e381f428a3c77ee11a2a5c14dca2c3e439eea (diff)
parentcf571162c36c8a4ae5a71fcc3f1fb8f464f3df7e (diff)
downloadhorizon-stable/wallaby.tar.gz
Merge "Disable form auto-complete on login form" into stable/wallabystable/wallaby
-rw-r--r--horizon/templates/auth/_login_form.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/horizon/templates/auth/_login_form.html b/horizon/templates/auth/_login_form.html
index a4a4abad5..92c216756 100644
--- a/horizon/templates/auth/_login_form.html
+++ b/horizon/templates/auth/_login_form.html
@@ -26,8 +26,8 @@
{% endcomment %}
{% if HORIZON_CONFIG.password_autocomplete != "on" %}
<div class="fake_credentials" style="display: none">
- <input type="text" name="fake_email" value="" />
- <input type="password" name="fake_password" value="" />
+ <input type="text" name="fake_email" value="" autocomplete="new-password"/>
+ <input type="password" name="fake_password" value="" autocomplete="new-password"/>
</div>
{%endif%}
{% if show_sso_opts %}