Allow username for login

This commit is contained in:
Patrick Jentsch
2020-02-20 09:45:38 +01:00
parent ba3f9ec214
commit 50746ab821
5 changed files with 15 additions and 11 deletions

View File

@ -100,9 +100,9 @@
{{ login_form.hidden_tag() }}
<div class="input-field">
<i class="material-icons prefix">person</i>
{{ login_form.email(class='validate') }}
{{ login_form.email.label }}
{% for error in login_form.email.errors %}
{{ login_form.user(class='validate') }}
{{ login_form.user.label }}
{% for error in login_form.user.errors %}
<span class="helper-text red-text">{{ error }}</span>
{% endfor %}
</div>