diff options
Diffstat (limited to 'model/team.go')
-rw-r--r-- | model/team.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/model/team.go b/model/team.go index c0f6524cd..584c78f8d 100644 --- a/model/team.go +++ b/model/team.go @@ -219,3 +219,9 @@ func CleanTeamName(s string) string { func (o *Team) PreExport() { } + +func (o *Team) Sanitize() { + o.Email = "" + o.Type = "" + o.AllowedDomains = "" +} |