Commit 6aec03fa authored by Samuel GAIST's avatar Samuel GAIST

[ui][urls] Update the path to match Django's

Fixes #583
parent a55eabdf
Pipeline #46967 passed with stage
in 17 minutes and 7 seconds
......@@ -28,7 +28,6 @@
from django.conf import settings
from django.contrib.auth import views as auth_views
from django.urls import path
from django.urls import re_path
from django.views.generic.base import TemplateView
from . import views
......@@ -103,8 +102,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})/$",
path(
"reset/<uidb64>/<token>/",
auth_views.PasswordResetConfirmView.as_view(
template_name="registration/password-reset-confirm.html"
),
......
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