chore: update auth page (#1920)

* chore: update auth page

* chore: update
This commit is contained in:
boojack
2023-07-09 21:13:26 +08:00
committed by GitHub
parent 0292f472e0
commit da70917b08
6 changed files with 39 additions and 47 deletions

View File

@ -73,7 +73,7 @@ func (s *APIV1Service) registerSystemRoutes(g *echo.Group) {
return echo.NewHTTPError(http.StatusInternalServerError, "Failed to find host user").SetInternal(err)
}
if hostUser != nil {
systemStatus.Host = converUserFromStore(hostUser)
systemStatus.Host = convertUserFromStore(hostUser)
// data desensitize
systemStatus.Host.OpenID = ""
systemStatus.Host.Email = ""