mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: hide user email (#282)
This commit is contained in:
@ -34,6 +34,7 @@ func (s *Server) registerSystemRoutes(g *echo.Group) {
|
||||
|
||||
if hostUser != nil {
|
||||
// data desensitize
|
||||
hostUser.Email = ""
|
||||
hostUser.OpenID = ""
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user