You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.5 KiB

10 years ago
10 years ago
  1. from django.urls import path
  2. from hc.accounts import views
  3. urlpatterns = [
  4. path("login/", views.login, name="hc-login"),
  5. path("login/two_factor/", views.login_webauthn, name="hc-login-webauthn"),
  6. path("login/two_factor/totp/", views.login_totp, name="hc-login-totp"),
  7. path("logout/", views.logout, name="hc-logout"),
  8. path("signup/", views.signup, name="hc-signup"),
  9. path("login_link_sent/", views.login_link_sent, name="hc-login-link-sent"),
  10. path(
  11. "check_token/<slug:username>/<slug:token>/",
  12. views.check_token,
  13. name="hc-check-token",
  14. ),
  15. path("profile/", views.profile, name="hc-profile"),
  16. path("profile/appearance/", views.appearance, name="hc-appearance"),
  17. path("profile/notifications/", views.notifications, name="hc-notifications"),
  18. path("close/", views.close, name="hc-close"),
  19. path(
  20. "unsubscribe_reports/<str:signed_username>/",
  21. views.unsubscribe_reports,
  22. name="hc-unsubscribe-reports",
  23. ),
  24. path("set_password/", views.set_password, name="hc-set-password"),
  25. path("change_email/done/", views.change_email_done, name="hc-change-email-done"),
  26. path("change_email/", views.change_email, name="hc-change-email"),
  27. path("two_factor/webauthn/", views.add_webauthn, name="hc-add-webauthn"),
  28. path("two_factor/totp/", views.add_totp, name="hc-add-totp"),
  29. path("two_factor/totp/remove/", views.remove_totp, name="hc-remove-totp"),
  30. path(
  31. "two_factor/<uuid:code>/remove/",
  32. views.remove_credential,
  33. name="hc-remove-credential",
  34. ),
  35. ]