Added custom branding to login description (#3710)
Этот коммит содержится в:
коммит произвёл
Joram Wilander
родитель
42e74b509d
Коммит
2c23a4fe49
@@ -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
|
||||
|
||||
Ссылка в новой задаче
Block a user