http: regenerate setup link + force-logout

This commit is contained in:
2026-05-05 09:48:13 +01:00
parent 53016aee93
commit 18affc1f16
3 changed files with 127 additions and 0 deletions
+2
View File
@@ -257,6 +257,8 @@ func (s *Server) routes(r chi.Router) {
r.Patch("/api/users/{id}", s.handleAPIUserPatch)
r.Post("/api/users/{id}/disable", s.handleAPIUserDisable)
r.Post("/api/users/{id}/enable", s.handleAPIUserEnable)
r.Post("/api/users/{id}/regenerate-setup", s.handleAPIUserRegenerateSetup)
r.Post("/api/users/{id}/force-logout", s.handleAPIUserForceLogout)
r.Post("/api/notifications/{id}/test", s.handleAPINotificationTest)
if s.deps.UI != nil {