Skip to content

Commit 2a5854b

Browse files
committed
Plug in change pass into URLS
1 parent 7365613 commit 2a5854b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wagtailenforcer/urls.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from axes.decorators import watch_login
77

88
from wagtailenforcer.views import account as account_views
9+
from wagtailenforcer.views.wagtailadmin.account import change_password
910
from wagtailenforcer.views.wagtailusers import users
1011

1112
# Here we put all the overriden Wagtail urls from the different wagtail apps
@@ -21,7 +22,7 @@
2122
url(r'^password_reset/complete/$', account_views.password_reset_complete, name='wagtailadmin_password_reset_complete'),
2223

2324
url(r'^login/$', watch_login(wagtail_account_views.login), name='wagtailadmin_login'),
24-
25+
url(r"^account/change_password/", change_password, name="password_change"),
2526
url(r'^users/(\d+)/$', users.edit, name='wagtailusers_users_edit'),
2627
url(r'^users/new/$', users.create, name='wagtailusers_users_create'),
2728

0 commit comments

Comments
 (0)