隐藏密码重置接口本机命令标识并扩大响应回归
This commit is contained in:
1 parent
5791e7906f
commit
9c58c5b079
4 files changed
+8
-7
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user