Merge pull request #3691 from Simounet/feature/login-username-autofocus

Autofocus the username field on the login page
This commit is contained in:
Jérémy Benoist 2018-07-11 18:49:38 +00:00 committed by GitHub
commit 9b12f822e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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">