Merge pull request #15357 from csware/2fa_code-autofocus

Autofocus 2-factor-authentication input field on log in
This commit is contained in:
Isaac Bennetch 2019-07-30 09:17:00 -04:00 committed by GitHub
commit 55c6fdfec0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
<p>
<label>{% trans "Authentication code:" %} <input type="text" name="2fa_code" autocomplete="off"></label>
<label>{% trans "Authentication code:" %} <input type="text" name="2fa_code" autocomplete="off" autofocus></label>
</p>
<p>{% trans "Open the two-factor authentication app on your device to view your authentication code and verify your identity." %}</p>