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.

33 lines
1.3 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("logout/", views.logout, name="hc-logout"),
  7. path("signup/", views.signup, name="hc-signup"),
  8. path("login_link_sent/", views.login_link_sent, name="hc-login-link-sent"),
  9. path(
  10. "check_token/<slug:username>/<slug:token>/",
  11. views.check_token,
  12. name="hc-check-token",
  13. ),
  14. path("profile/", views.profile, name="hc-profile"),
  15. path("profile/appearance/", views.appearance, name="hc-appearance"),
  16. path("profile/notifications/", views.notifications, name="hc-notifications"),
  17. path("close/", views.close, name="hc-close"),
  18. path(
  19. "unsubscribe_reports/<str:signed_username>/",
  20. views.unsubscribe_reports,
  21. name="hc-unsubscribe-reports",
  22. ),
  23. path("set_password/", views.set_password, name="hc-set-password"),
  24. path("change_email/done/", views.change_email_done, name="hc-change-email-done"),
  25. path("change_email/", views.change_email, name="hc-change-email"),
  26. path("two_factor/add/", views.add_credential, name="hc-add-credential"),
  27. path(
  28. "two_factor/<uuid:code>/remove/",
  29. views.remove_credential,
  30. name="hc-remove-credential",
  31. ),
  32. ]