Кнопка восстановления пароля привязана к странице
This commit is contained in:
parent
b0932c94b6
commit
c71949dac6
@ -27,11 +27,12 @@ urlpatterns = [
|
||||
path('accounts/login/', LoginView.as_view(extra_context={}), name='login'), # TODO add extra context
|
||||
path('accounts/', include('django.contrib.auth.urls')),
|
||||
path('accounts/', include('django_registration.backends.activation.urls')),
|
||||
]
|
||||
path('accounts/login/', include('django.contrib.auth.urls')),
|
||||
]
|
||||
|
||||
urlpatterns += [
|
||||
path(
|
||||
'password-reset/',
|
||||
'password_reset/',
|
||||
auth_views.PasswordResetView.as_view(),
|
||||
name='password_reset'
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user