Add Docker/systemd deployment, documentation, extauth logout URL wiring

This commit is contained in:
2026-08-22 23:44:46 -05:00
parent 40e1cfb630
commit b4b1ba8470
10 changed files with 534 additions and 1 deletions
+5 -1
View File
@@ -65,7 +65,11 @@ func (h *Web) loginFailed(w http.ResponseWriter, r *http.Request, next string) {
func (h *Web) handleLogout(w http.ResponseWriter, r *http.Request) {
h.Sessions.Clear(w, r)
http.Redirect(w, r, "/login", http.StatusFound)
dest := "/login"
if h.Config.ExtAuth.Enabled && h.Config.ExtAuth.LogoutURL != "" {
dest = h.Config.ExtAuth.LogoutURL
}
http.Redirect(w, r, dest, http.StatusFound)
}
// --- First-run setup ---