diff --git a/pkg/user/users_list.go b/pkg/user/users_list.go index b79a5603..e24501ed 100644 --- a/pkg/user/users_list.go +++ b/pkg/user/users_list.go @@ -63,6 +63,10 @@ func ListUsers(s *xorm.Session, search string, opts *ListUserOpts) (users []*Use err = s. Where(cond). Find(&users) + + for _, u := range users { + u.Email = "" + } return }