mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-08-10 00:17:54 +02:00
Fix password change URLs and add basic templates, to address #734
This commit is contained in:
@ -194,6 +194,17 @@ urlpatterns += [
|
||||
template_name='helpdesk/registration/login.html',
|
||||
next_page='../'),
|
||||
name='logout'),
|
||||
|
||||
url(r'^password_change/$',
|
||||
auth_views.PasswordChangeView.as_view(
|
||||
template_name='helpdesk/registration/change_password.html',
|
||||
success_url='./done'),
|
||||
name='password_change'),
|
||||
|
||||
url(r'^password_change/done$',
|
||||
auth_views.PasswordChangeDoneView.as_view(
|
||||
template_name='helpdesk/registration/change_password_done.html',),
|
||||
name='password_change_done'),
|
||||
]
|
||||
|
||||
if helpdesk_settings.HELPDESK_KB_ENABLED:
|
||||
|
Reference in New Issue
Block a user