Browse Source

Add autofocus attribute to the TOTP input field

Fixes: #726
pull/733/head
Pēteris Caune 1 year ago
parent
commit
0ec5117a72
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
  1. 3
      templates/accounts/login_totp.html

3
templates/accounts/login_totp.html

@ -19,7 +19,8 @@
pattern="[0-9]{6}"
title="6-digit code"
placeholder="6-digit code"
class="form-control input-lg" />
class="form-control input-lg"
autofocus />
{% if form.code.errors %}
<div class="help-block">
{{ form.code.errors|join:"" }}

Loading…
Cancel
Save