summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--internal/ui/middleware.go2
-rw-r--r--internal/ui/oauth2_callback.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/internal/ui/middleware.go b/internal/ui/middleware.go
index d9682532..79e433e9 100644
--- a/internal/ui/middleware.go
+++ b/internal/ui/middleware.go
@@ -257,6 +257,6 @@ func (m *middleware) handleAuthProxy(next http.Handler) http.Handler {
config.Opts.BasePath(),
))
- html.Redirect(w, r, route.Path(m.router, "unread"))
+ html.Redirect(w, r, route.Path(m.router, user.DefaultHomePage))
})
}
diff --git a/internal/ui/oauth2_callback.go b/internal/ui/oauth2_callback.go
index 4810afab..cf223da8 100644
--- a/internal/ui/oauth2_callback.go
+++ b/internal/ui/oauth2_callback.go
@@ -149,5 +149,5 @@ func (h *handler) oauth2Callback(w http.ResponseWriter, r *http.Request) {
config.Opts.BasePath(),
))
- html.Redirect(w, r, route.Path(h.router, "unread"))
+ html.Redirect(w, r, route.Path(h.router, user.DefaultHomePage))
}