Autofocus the username field on the login page

This commit is contained in:
Simounet 2018-07-11 20:10:51 +02:00
parent 6337b46e80
commit d02e6850c2

View file

@ -16,7 +16,7 @@
<div class="input-field col s12">
<label for="username">{{ 'security.login.username'|trans }}</label>
<input type="text" id="username" name="_username" value="{{ last_username }}" />
<input type="text" id="username" name="_username" value="{{ last_username }}" autofocus />
</div>
<div class="input-field col s12">