diff options
Diffstat (limited to 'model/team.go')
-rw-r--r-- | model/team.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/model/team.go b/model/team.go index 15a708220..7968c9d48 100644 --- a/model/team.go +++ b/model/team.go @@ -243,15 +243,6 @@ func (o *Team) Sanitize() { o.AllowedDomains = "" } -func (o *Team) SanitizeForNotLoggedIn() { - o.Email = "" - o.AllowedDomains = "" - o.CompanyName = "" - if !o.AllowOpenInvite { - o.InviteId = "" - } -} - func (t *Team) Patch(patch *TeamPatch) { if patch.DisplayName != nil { t.DisplayName = *patch.DisplayName |