diff options
Diffstat (limited to 'model/config.go')
-rw-r--r-- | model/config.go | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/model/config.go b/model/config.go index 09bf11a71..321307539 100644 --- a/model/config.go +++ b/model/config.go @@ -214,7 +214,6 @@ type TeamSettings struct { EnableUserCreation bool EnableOpenServer *bool RestrictCreationToDomains string - RestrictTeamNames *bool EnableCustomBrand *bool CustomBrandText *string CustomDescriptionText *string @@ -453,11 +452,6 @@ func (o *Config) SetDefaults() { *o.PasswordSettings.Symbol = false } - if o.TeamSettings.RestrictTeamNames == nil { - o.TeamSettings.RestrictTeamNames = new(bool) - *o.TeamSettings.RestrictTeamNames = true - } - if o.TeamSettings.EnableCustomBrand == nil { o.TeamSettings.EnableCustomBrand = new(bool) *o.TeamSettings.EnableCustomBrand = false |