summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2023-04-21 18:10:36 +0000
committerGerrit Code Review <review@openstack.org>2023-04-21 18:10:36 +0000
commitda57fea8e23b73bbf46820fc25cc16a690c5c49b (patch)
tree8820da8566e21f5a2ead77ef112b4c6c8d6efed0
parent87b1455bfe59fa65744dbe9b8c896a2b48c09748 (diff)
parente4a13dbcde0df213f9b6e7d72f45c6610192204a (diff)
downloadhorizon-da57fea8e23b73bbf46820fc25cc16a690c5c49b.tar.gz
Merge "Disable form auto-complete on login form"
-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 %}