http: POST /api/account/password — self-service password change

This commit is contained in:
2026-05-05 09:52:10 +01:00
parent 18affc1f16
commit 426b06d43d
3 changed files with 91 additions and 0 deletions
+1
View File
@@ -157,6 +157,7 @@ func (s *Server) routes(r chi.Router) {
r.Get("/api/hosts/{id}/repo-maintenance", s.handleGetRepoMaintenance)
r.Get("/api/alerts", s.handleAPIAlerts)
r.Get("/api/audit", s.handleAPIAudit)
r.Post("/api/account/password", s.handleAPIAccountPassword)
// Job log stream + download (read-only; any authenticated user).
if s.deps.JobHub != nil {