diff --git a/src/templates/registration/login.html b/src/templates/registration/login.html index 5279484..c27dbf3 100644 --- a/src/templates/registration/login.html +++ b/src/templates/registration/login.html @@ -15,19 +15,10 @@ {% endif %} {% if not user.is_authenticated %} -
+ {% csrf_token %} - - - - - - - - - -
{{ form.username.label_tag }}{{ form.username }}
{{ form.password.label_tag }}{{ form.password }}
- + {{ form.as_p }} +
diff --git a/src/templates/registration/password_reset_form.html b/src/templates/registration/password_reset_form.html index 6891456..fe41b80 100644 --- a/src/templates/registration/password_reset_form.html +++ b/src/templates/registration/password_reset_form.html @@ -2,7 +2,7 @@ {% load i18n %} {% block content %} -
+ {% csrf_token %} {% if form.email.errors %} {{ form.email.errors }}