隐藏密码重置接口本机命令标识并扩大响应回归

This commit is contained in:
xuans committed 2026-10-01 21:00:39 +08:00
1 parent 5791e7906f
commit 9c58c5b079
4 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -525,7 +525,7 @@ func (s *Server) status(c *gin.Context) {
if _, authenticated := s.currentAuthSession(c); authenticated {
payload["https_mode"] = cfg.Server.HTTPSMode
payload["database_driver"] = cfg.Database.Driver
payload["reset_method"] = "local_admin_command"
payload["reset_method"] = "contact_administrator"
}
c.JSON(http.StatusOK, payload)
}