diff --git a/server/core/templates/registration/password_reset_confirm.html b/server/core/templates/registration/password_reset_confirm.html index bdc3fbd6..decaf110 100644 --- a/server/core/templates/registration/password_reset_confirm.html +++ b/server/core/templates/registration/password_reset_confirm.html @@ -10,14 +10,7 @@
{% csrf_token %} -
- {{ form.new_password1.label_tag }} - {{ form.new_password1 }} -
-
- {{ form.new_password2.label_tag }} - {{ form.new_password2 }} -
+ {{ form.as_p }}
{% endblock %} diff --git a/server/core/templates/registration/set_password_confirm.html b/server/core/templates/registration/set_password_confirm.html index 395607aa..dcd5aeba 100644 --- a/server/core/templates/registration/set_password_confirm.html +++ b/server/core/templates/registration/set_password_confirm.html @@ -10,14 +10,8 @@
{% csrf_token %} -
- {{ form.new_password1.label_tag }} - {{ form.new_password1 }} -
-
- {{ form.new_password2.label_tag }} - {{ form.new_password2 }} -
+ {{ form.as_p }} +
{% endblock %} diff --git a/server/core/urls.py b/server/core/urls.py index 7a97c9cc..3d08fe01 100644 --- a/server/core/urls.py +++ b/server/core/urls.py @@ -20,7 +20,7 @@ urlpatterns = [ path('welcome/', SetPasswordView.as_view(), name='set_password'), path('set-password/done/', SetPasswordDoneView.as_view(), name='set_password_done'), path('set-password///', SetPasswordConfirmView.as_view(), name='set_password_confirm'), - path('set-password/done/', SetPasswordCompleteView.as_view(), name='set_password_complete'), + path('set-password/complete/', SetPasswordCompleteView.as_view(), name='set_password_complete'), # wagtail url(r'^cms/', include(wagtailadmin_urls)),