summaryrefslogtreecommitdiffstats
path: root/takahe
diff options
context:
space:
mode:
authorAndrew Godwin2022-11-17 19:36:25 -0700
committerAndrew Godwin2022-11-17 19:36:25 -0700
commitadf2449d373bcd07e2b0ce557beeb1f49d1894e4 (patch)
treef9178fded8a38d02546b098ebb71b3797eb18964 /takahe
parent6adfdbabe0d44c17f32abc9d48a6e252e2a0792e (diff)
downloadtakahe-adf2449d373bcd07e2b0ce557beeb1f49d1894e4.tar.gz
takahe-adf2449d373bcd07e2b0ce557beeb1f49d1894e4.tar.bz2
takahe-adf2449d373bcd07e2b0ce557beeb1f49d1894e4.zip
Add the user settings page too
Diffstat (limited to 'takahe')
-rw-r--r--takahe/urls.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/takahe/urls.py b/takahe/urls.py
index 5c0b182..0ea49d0 100644
--- a/takahe/urls.py
+++ b/takahe/urls.py
@@ -22,6 +22,11 @@ urlpatterns = [
name="settings",
),
path(
+ "settings/security/",
+ settings.SecurityPage.as_view(),
+ name="settings_security",
+ ),
+ path(
"settings/profile/",
settings.ProfilePage.as_view(),
name="settings_profile",
@@ -85,7 +90,8 @@ urlpatterns = [
path("auth/login/", auth.Login.as_view(), name="login"),
path("auth/logout/", auth.Logout.as_view(), name="logout"),
path("auth/signup/", auth.Signup.as_view(), name="signup"),
- path("auth/reset/<token>/", auth.Reset.as_view(), name="password_reset"),
+ path("auth/reset/", auth.TriggerReset.as_view(), name="trigger_reset"),
+ path("auth/reset/<token>/", auth.PerformReset.as_view(), name="password_reset"),
# Identity selection
path("@<handle>/activate/", identity.ActivateIdentity.as_view()),
path("identity/select/", identity.SelectIdentity.as_view()),