From faf6325961afc88c9ecc6b22c6aa221da865fbc6 Mon Sep 17 00:00:00 2001
From: Todd Dembrey <todd.dembrey@torchbox.com>
Date: Wed, 8 Aug 2018 14:11:03 +0100
Subject: [PATCH] change account/password/activate to account/activate to be
 correct

---
 opentech/apply/users/urls.py | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/opentech/apply/users/urls.py b/opentech/apply/users/urls.py
index 217002437..02e7899ca 100644
--- a/opentech/apply/users/urls.py
+++ b/opentech/apply/users/urls.py
@@ -27,7 +27,6 @@ urlpatterns = [
     path('account/', include([
         path('', AccountView.as_view(), name='account'),
         path('become/', become, name='become'),
-        # Password change
         path('password/', include([
             path(
                 'change/',
@@ -37,8 +36,6 @@ urlpatterns = [
                 ),
                 name='password_change',
             ),
-
-            # Password reset
             path(
                 'reset/',
                 auth_views.PasswordResetView.as_view(
@@ -68,14 +65,13 @@ urlpatterns = [
                 auth_views.PasswordResetCompleteView.as_view(template_name='users/password_reset/complete.html'),
                 name='password_reset_complete'
             ),
-            path(
-                'activate/<uidb64>/<token>/',
-                ActivationView.as_view(),
-                name='activate'
-            ),
-            path('activate/', create_password, name="activate_password"),
-
         ])),
+        path(
+            'activate/<uidb64>/<token>/',
+            ActivationView.as_view(),
+            name='activate'
+        ),
+        path('activate/', create_password, name="activate_password"),
         path('oauth', oauth, name='oauth'),
     ]))
 ]
-- 
GitLab