From f4d7060e5b8311020a7be9e628d0f48182f77877 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Wed, 21 Jul 2021 22:41:35 +0000 Subject: [PATCH] Increase password reset token length in URL route --- apiserver/apiserver/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apiserver/apiserver/urls.py b/apiserver/apiserver/urls.py index cc6de42..d6165b7 100644 --- a/apiserver/apiserver/urls.py +++ b/apiserver/apiserver/urls.py @@ -37,7 +37,7 @@ urlpatterns = [ 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/confirm/$', views.PasswordResetConfirmView.as_view(), name='password_reset_confirm'), - url(r'^password/reset/confirm/(?P[0-9A-Za-z_\-]+)/(?P[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[0-9A-Za-z_\-]+)/(?P[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'^registration/', views.RegistrationView.as_view(), name='rest_name_register'), url(r'^user/', views.UserView.as_view(), name='user'),