diff options
author | David Hill <dhill@redhat.com> | 2023-04-13 16:51:02 -0400 |
---|---|---|
committer | Tatiana Ovchinnikova <t.v.ovtchinnikova@gmail.com> | 2023-05-05 20:57:05 +0000 |
commit | 3e4574c0ea8073c4297ac7ea13a5b4b16fbf4d12 (patch) | |
tree | 3f3d4b8f3ce8e49ba982768f3df52bca1a5ac664 | |
parent | e6f3952b878d6b04fde9742987e0f37a1cfad3e5 (diff) | |
download | horizon-stable/ussuri.tar.gz |
Disable form auto-complete on login formstable/ussuri
Disable form auto-complete on login form with autocomplete="off" for
the email/password field.
Change-Id: Ie550eae36ece160d19186a404c0e688f2f6e785b
(cherry picked from commit e4a13dbcde0df213f9b6e7d72f45c6610192204a)
-rw-r--r-- | horizon/templates/auth/_login_form.html | 4 |
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 %} |