diff options
author | David Hill <dhill@redhat.com> | 2023-04-13 16:51:02 -0400 |
---|---|---|
committer | David Hill <davidchill@hotmail.com> | 2023-05-04 18:41:18 +0000 |
commit | f9e08ed8df234052c2a7d204b6922abd3e42775b (patch) | |
tree | 4daecb70a82fdc112300432c7ad945ebe35688da | |
parent | ff702370a875f673d7d2d06ab7d29736540e9fda (diff) | |
download | horizon-stable/train.tar.gz |
Disable form auto-complete on login formstable/train
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 66ce8ff19..6cac21704 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 %} |