diff --git a/accounts_ext/urls.py b/accounts_ext/urls.py index fdb0ba6..e0517d9 100644 --- a/accounts_ext/urls.py +++ b/accounts_ext/urls.py @@ -9,6 +9,6 @@ urlpatterns = [ re_path(r'^register/done/$', views.RegistrationDoneView.as_view(), name='register_done'), re_path(r'^password/reset/$', views.ResetPasswordView.as_view(), name='reset_password'), re_path(r'^password/reset/done/$', views.ResetPasswordDoneView.as_view(), name='reset_password_done'), - re_path(r'^password/reset/change/(?P\w+)/(?P\w+)/$', views.ResetPasswordConfirmView.as_view(), name='reset_password_change'), + re_path(r'^password/reset/change/(?P[0-9A-Za-z_\-]+)/(?P.+)/$', views.ResetPasswordConfirmView.as_view(), name='reset_password_change'), re_path(r'^password/reset/complete/$', views.ResetPasswordCompleteView.as_view(), name='reset_password_complete') ]