From 2c23a4fe4907f826013571afdae6db52895f576e Mon Sep 17 00:00:00 2001 From: David Lu Date: Tue, 2 Aug 2016 08:34:34 -0400 Subject: Added custom branding to login description (#3710) --- model/config.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'model') diff --git a/model/config.go b/model/config.go index 4b00e835d..79e01dbdd 100644 --- a/model/config.go +++ b/model/config.go @@ -192,6 +192,7 @@ type TeamSettings struct { RestrictTeamNames *bool EnableCustomBrand *bool CustomBrandText *string + CustomDescriptionText *string RestrictDirectMessage *string RestrictTeamInvite *string RestrictPublicChannelManagement *string @@ -422,6 +423,11 @@ func (o *Config) SetDefaults() { *o.TeamSettings.CustomBrandText = "" } + if o.TeamSettings.CustomDescriptionText == nil { + o.TeamSettings.CustomDescriptionText = new(string) + *o.TeamSettings.CustomDescriptionText = "" + } + if o.TeamSettings.EnableOpenServer == nil { o.TeamSettings.EnableOpenServer = new(bool) *o.TeamSettings.EnableOpenServer = false -- cgit v1.2.3-1-g7c22