Autofocus username field on Login screen

This commit is contained in:
Roel Schroeven 2023-04-26 17:26:52 +02:00
parent 8108caf96a
commit 9350c98ea2

View File

@ -40,6 +40,7 @@
<div class="form-group">
<input type="text" class="form-control" placeholder="Username" name="username"
data-error="Please input your username" required
autofocus
{% if username %}value="{{ username }}" {% endif %}>
<span class="help-block with-errors"></span>
</div>