Browse Source

Disable autocomplete on 2FA code input

merge-requests/45/head
Bauke 6 years ago
committed by Deimos
parent
commit
d75a066c75
  1. 2
      tildes/tildes/templates/intercooler/login_two_factor.jinja2

2
tildes/tildes/templates/intercooler/login_two_factor.jinja2

@ -3,7 +3,7 @@
<p>Two-factor authentication is enabled on this account. Please enter the code from your authenticator app below. If you do not have access to your authenticator device, enter a backup code.</p> <p>Two-factor authentication is enabled on this account. Please enter the code from your authenticator app below. If you do not have access to your authenticator device, enter a backup code.</p>
<form class="form-narrow" method="post" action="/login_two_factor" data-ic-post-to="/login_two_factor">
<form class="form-narrow" method="post" autocomplete="off" action="/login_two_factor" data-ic-post-to="/login_two_factor">
<input type="hidden" name="csrf_token" value="{{ get_csrf_token() }}"> <input type="hidden" name="csrf_token" value="{{ get_csrf_token() }}">
{% if keep %} {% if keep %}
<input type="hidden" name="keep" value="on"> <input type="hidden" name="keep" value="on">

Loading…
Cancel
Save