focus 2fa input
parent
c5e782e3f0
commit
c0ed424f21
|
@ -23,4 +23,7 @@
|
|||
<small><a href="/lost_2fa">Lost your 2FA device?</a></small>
|
||||
<button type="submit" class="btn btn-primary login w-100 mt-3" id="login_button">Sign in</button>
|
||||
</form>
|
||||
<script>
|
||||
document.getElementById('2fa_token').focus()
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
|
Loading…
Reference in New Issue