Commit 43b50f6b authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

allow larger token

parent 6039421f
Pipeline #38943 failed with stage
in 1 minute and 27 seconds
......@@ -19,7 +19,7 @@ urlpatterns = [
url(r'^accounts/signup/$', views.signup, name='signup'),
url(r'^accounts/edit/$', views.user_update, name='user-update'),
url(r'^accounts/remove/$', views.user_delete, name='user-delete'),
url(r'^accounts/activate/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$',
url(r'^accounts/activate/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,32})/$',
views.activate, name='activate'),
################################################################################
# Lost password
......@@ -32,7 +32,7 @@ urlpatterns = [
url(r'^accounts/password_reset/done/$',
auth_views.PasswordResetDoneView.as_view(),
name='password_reset_done'),
url(r'^accounts/password/reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/$',
url(r'^accounts/password/reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,32})/$',
auth_views.PasswordResetConfirmView.as_view(
success_url=reverse_lazy("basetheme_bootstrap:password_reset_complete"),
),
......
......@@ -7,7 +7,7 @@ readme = open('README.rst').read()
setup(
name='django-basetheme-bootstrap',
version='0.2.38',
version='0.2.39',
description='Django Basetheme Bootstrap',
long_description=readme,
author='Bryan Brancotte',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment