diff --git a/apps/authentication/templates/authentication/login.html b/apps/authentication/templates/authentication/login.html index c54f792c7..3dafafe51 100644 --- a/apps/authentication/templates/authentication/login.html +++ b/apps/authentication/templates/authentication/login.html @@ -147,7 +147,7 @@ {% csrf_token %}
{% if form.errors %} -

+

{% if form.non_field_errors %} {{ form.non_field_errors.as_text }} {% endif %} @@ -160,9 +160,15 @@

{% bootstrap_field form.username show_label=False %} -
- + +
+ + {% if form.password.errors %} +

+ {{ form.password.errors.as_text }} +

+ {% endif %}
{% if form.challenge %} {% bootstrap_field form.challenge show_label=False %} @@ -220,7 +226,6 @@ {% trans 'FeiShu' %} {% endif %} -
{% else %}
@@ -236,6 +241,9 @@