HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/aigenerator/venv/lib64/python3.12/site-packages/allauth/mfa/urls.py
from typing import List, Union

from django.urls import URLPattern, URLResolver, include, path

from allauth.mfa import app_settings


urlpatterns: List[Union[URLPattern, URLResolver]] = [
    path("", include("allauth.mfa.base.urls"))
]

if "totp" in app_settings.SUPPORTED_TYPES:
    urlpatterns.append(path("totp/", include("allauth.mfa.totp.urls")))

if "recovery_codes" in app_settings.SUPPORTED_TYPES:
    urlpatterns.append(
        path("recovery-codes/", include("allauth.mfa.recovery_codes.urls"))
    )

if "webauthn" in app_settings.SUPPORTED_TYPES:
    urlpatterns.append(path("webauthn/", include("allauth.mfa.webauthn.urls")))