chore: hide host user email (#856)

This commit is contained in:
boojack 2022-12-25 10:28:51 +08:00 committed by GitHub
parent 2e2657b39d
commit 05b41804e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,6 +37,7 @@ func (s *Server) registerSystemRoutes(g *echo.Group) {
if hostUser != nil {
// data desensitize
hostUser.OpenID = ""
hostUser.Email = ""
}
systemStatus := api.SystemStatus{