Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: hide host user email (#856)

boojack05b41804e33a
diff --git a/server/system.go b/server/system.go
index e4e510d52..90d522abb 100644
--- a/server/system.go
+++ b/server/system.go
@@ -37,6 +37,7 @@ func (s *Server) registerSystemRoutes(g *echo.Group) {
if hostUser != nil {
// data desensitize
hostUser.OpenID = ""
+ hostUser.Email = ""
}
systemStatus := api.SystemStatus{