mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Add autofocus to TFA code input field
Added autofocus attribute to the TFA code input field.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
<input type="hidden" id="id_next" name="next" value="{{ nextlocation }}">
|
||||
<div class="input-group{% if form.tfa_code.errors %} error{% endif %}">
|
||||
<label>{% translate "One-time password" %}</label>
|
||||
<input id="id_tfa_code" name="tfa_code" required>
|
||||
<input id="id_tfa_code" name="tfa_code" required autofocus>
|
||||
<span class="error-message">
|
||||
{% for error in form.tfa_code.errors %}
|
||||
{{ error }}
|
||||
|
||||
Reference in New Issue
Block a user