Brendan 4 лет назад
Родитель
Сommit
7465a56948
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      glitchtip/urls.py

+ 6 - 0
glitchtip/urls.py

@@ -108,6 +108,12 @@ urlpatterns += [
     ),
     path("docs/", schema_view.with_ui("redoc", cache_timeout=0), name="schema-redoc"),
     path("accounts/", include("allauth.urls")),  # Required for allauth
+    # Change the activate_url in the confirm emails
+    re_path(
+        r"^profile/confirm-email/(?P<key>[-:\w]+)/$",
+        TemplateView.as_view(),
+        name="account_confirm_email"
+    ),
     # These routes belong to the Angular single page app
     re_path(r"^$", TemplateView.as_view(template_name="index.html")),
     re_path(