Skip to content

Commit

Permalink
Remove unused password change view/route (#9985)
Browse files Browse the repository at this point in the history
Co-authored-by: John Tordoff <>
  • Loading branch information
Johnetordoff authored and cslzchen committed Sep 1, 2022
1 parent 4d60818 commit 684524f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion admin/base/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
url(r'^collection_providers/', include('admin.collection_providers.urls', namespace='collection_providers')),
url(r'^registration_providers/', include('admin.registration_providers.urls', namespace='registration_providers')),
url(r'^account/', include('admin.common_auth.urls', namespace='auth')),
url(r'^password/', include('password_reset.urls')),
url(r'^nodes/', include('admin.nodes.urls', namespace='nodes')),
url(r'^preprints/', include('admin.preprints.urls', namespace='preprints')),
url(r'^subjects/', include('admin.subjects.urls', namespace='subjects')),
Expand Down
8 changes: 0 additions & 8 deletions admin/common_auth/urls.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from __future__ import absolute_import

from django.conf.urls import url
from django.urls import reverse_lazy
from django.contrib.auth.views import password_change, password_change_done

from admin.common_auth import views

Expand All @@ -12,12 +10,6 @@
url(r'^login/?$', views.LoginView.as_view(), name='login'),
url(r'^logout/$', views.logout_user, name='logout'),
url(r'^register/$', views.RegisterUser.as_view(), name='register'),
url(r'^password_change/$', password_change,
{'post_change_redirect': reverse_lazy('auth:password_change_done')},
name='password_change'),
url(r'^password_change/done/$', password_change_done,
{'template_name': 'password_change_done.html'},
name='password_change_done'),
url(r'^settings/desk/$', views.DeskUserCreateFormView.as_view(), name='desk'),
url(r'^settings/desk/update/$', views.DeskUserUpdateFormView.as_view(), name='desk_update'),
]
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ django-guardian==1.4.9

# Admin requirements
django-webpack-loader==0.5.0
django-password-reset==1.0
sendgrid-django==2.0.0

# Analytics requirements
Expand Down

0 comments on commit 684524f

Please sign in to comment.