Commit 8e408279 authored by VAN ZUIJLEN Nils's avatar VAN ZUIJLEN Nils
Browse files

Change password reset URL requirements

As per specified in https://code.djangoproject.com/ticket/31913

Fixes #75
parent 79a85294
......@@ -51,8 +51,8 @@ urlpatterns = [
),
name="password_reset_done",
),
re_path(
r"^reset/(?P<uidb64>[0-9A-Za-z_\-]+)/(?P<token>[0-9A-Za-z]{1,13}-[0-9A-Za-z]{1,20})/a$",
path(
"reset/<uidb64>/<token>/a",
auth_views.PasswordResetConfirmView.as_view(
template_name="accounts/password_reset_confirm.html",
success_url=reverse_lazy("password_reset_complete"),
......
Supports Markdown
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