Increase password reset token length in URL route
This commit is contained in:
parent
8f83749352
commit
f4d7060e5b
|
@ -37,7 +37,7 @@ urlpatterns = [
|
||||||
url(r'^rest-auth/logout/$', LogoutView.as_view(), name='rest_logout'),
|
url(r'^rest-auth/logout/$', LogoutView.as_view(), name='rest_logout'),
|
||||||
url(r'^password/reset/$', views.PasswordResetView.as_view(), name='rest_password_reset'),
|
url(r'^password/reset/$', views.PasswordResetView.as_view(), name='rest_password_reset'),
|
||||||
url(r'^password/reset/confirm/$', views.PasswordResetConfirmView.as_view(), name='password_reset_confirm'),
|
url(r'^password/reset/confirm/$', views.PasswordResetConfirmView.as_view(), name='password_reset_confirm'),
|
||||||
url(r'^password/reset/confirm/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$', views.null_view, name='password_reset_confirm'),
|
url(r'^password/reset/confirm/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,32})/$', views.null_view, name='password_reset_confirm'),
|
||||||
url(r'^password/change/', views.PasswordChangeView.as_view(), name='rest_password_change'),
|
url(r'^password/change/', views.PasswordChangeView.as_view(), name='rest_password_change'),
|
||||||
url(r'^registration/', views.RegistrationView.as_view(), name='rest_name_register'),
|
url(r'^registration/', views.RegistrationView.as_view(), name='rest_name_register'),
|
||||||
url(r'^user/', views.UserView.as_view(), name='user'),
|
url(r'^user/', views.UserView.as_view(), name='user'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user