1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-02 16:38:37 +00:00

Fill login form on failed sign in

This commit is contained in:
Frédéric Guillot 2017-12-22 16:30:17 -08:00
parent 9868f900e9
commit e031dad1e7
4 changed files with 8 additions and 7 deletions

View file

@ -10,10 +10,10 @@
{{ end }}
<label for="form-username">{{ t "Username" }}</label>
<input type="text" name="username" id="form-username" required autofocus>
<input type="text" name="username" id="form-username" value="{{ .form.Username }}" required autofocus>
<label for="form-password">{{ t "Password" }}</label>
<input type="password" name="password" id="form-password" required>
<input type="password" name="password" id="form-password" value="{{ .form.Password }}" required>
<div class="buttons">
<button type="submit" class="button button-primary" data-label-loading="{{ t "Loading..." }}">{{ t "Sign in" }}</button>