This commit is contained in:
Iliyan Angelov
2025-09-14 23:24:25 +03:00
commit c67067a2a4
71311 changed files with 6800714 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
from django.urls import include, path
from allauth.mfa import views
urlpatterns = [
path("", views.index, name="mfa_index"),
path("authenticate/", views.authenticate, name="mfa_authenticate"),
path(
"totp/",
include(
[
path("activate/", views.activate_totp, name="mfa_activate_totp"),
path("deactivate/", views.deactivate_totp, name="mfa_deactivate_totp"),
]
),
),
path(
"recovery-codes/",
include(
[
path("", views.view_recovery_codes, name="mfa_view_recovery_codes"),
path(
"generate/",
views.generate_recovery_codes,
name="mfa_generate_recovery_codes",
),
path(
"download/",
views.download_recovery_codes,
name="mfa_download_recovery_codes",
),
]
),
),
]