from django.urls import path

from . import views

app_name = "security"

urlpatterns = [
    path("login/", views.UnifiedLoginView.as_view(), name="login"),
    path("logout/", views.unified_logout, name="logout"),
    path("recuperar-palavra-passe/", views.K4WPasswordResetView.as_view(), name="password_reset"),
    path("recuperar-palavra-passe/enviado/", views.K4WPasswordResetDoneView.as_view(), name="password_reset_done"),
    path("recuperar-palavra-passe/<uidb64>/<token>/", views.K4WPasswordResetConfirmView.as_view(), name="password_reset_confirm"),
    path("recuperar-palavra-passe/concluido/", views.K4WPasswordResetCompleteView.as_view(), name="password_reset_complete"),
    path("conta/", views.account, name="account"),
    path("seguranca/", views.overview, name="overview"),
    path("seguranca/verificar/", views.verify, name="verify"),
    path("seguranca/configurar/", views.setup, name="setup"),
    path("seguranca/desativar/", views.disable, name="disable"),
    path("seguranca/codigos-recuperacao/", views.recovery_codes, name="recovery_codes"),
]
