From ef2b079d276a2e485383ce0e1a187d882ae5c1dc Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 4 Apr 2023 12:19:52 +0200 Subject: Manage expiration of passwords --- ishtar_common/urls_registration.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ishtar_common/urls_registration.py') diff --git a/ishtar_common/urls_registration.py b/ishtar_common/urls_registration.py index 0a18ff060..29d0055d7 100644 --- a/ishtar_common/urls_registration.py +++ b/ishtar_common/urls_registration.py @@ -39,9 +39,9 @@ urlpatterns = [ name='registration_disallowed'), # url("^accounts/", include('django.contrib.auth.urls')), path('accounts/login/', views.LoginView.as_view(), name='login'), - path('accounts/logout/', auth_views.LogoutView.as_view(), name='logout'), + path('accounts/logout/', views.LogoutView.as_view(), name='logout'), - path('accounts/password_change/', auth_views.PasswordChangeView.as_view(), + path('accounts/password_change/', views.PasswordChangeView.as_view(), name='password_change'), path('accounts/password_change/done/', auth_views.PasswordChangeDoneView.as_view(), name='password_change_done'), @@ -49,7 +49,7 @@ urlpatterns = [ path('accounts/password_reset/', auth_views.PasswordResetView.as_view(), name='password_reset'), path('accounts/password_reset/done/', auth_views.PasswordResetDoneView.as_view(), name='password_reset_done'), - path('accounts/reset///', auth_views.PasswordResetConfirmView.as_view(), + path('accounts/reset///', views.PasswordResetConfirmView.as_view(), name='password_reset_confirm'), path('accounts/reset/done/', auth_views.PasswordResetCompleteView.as_view(), name='password_reset_complete'), -- cgit v1.2.3