MM-8701 Limit the number of client config fields sent before user logs in (#8954)
* MM-8701 Limit the number of client config fields sent before user logs in * Fixed missing client config field * Reduced duplication between limited and regular client config
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f48d31c7a4
Коммит
6d8140337e
@@ -230,6 +230,7 @@ type ServiceSettings struct {
|
||||
ImageProxyOptions *string
|
||||
EnableAPITeamDeletion *bool
|
||||
ExperimentalEnableHardenedMode *bool
|
||||
ExperimentalLimitClientConfig *bool
|
||||
}
|
||||
|
||||
func (s *ServiceSettings) SetDefaults() {
|
||||
@@ -466,6 +467,10 @@ func (s *ServiceSettings) SetDefaults() {
|
||||
if s.ExperimentalEnableHardenedMode == nil {
|
||||
s.ExperimentalEnableHardenedMode = NewBool(false)
|
||||
}
|
||||
|
||||
if s.ExperimentalLimitClientConfig == nil {
|
||||
s.ExperimentalLimitClientConfig = NewBool(false)
|
||||
}
|
||||
}
|
||||
|
||||
type ClusterSettings struct {
|
||||
|
||||
Ссылка в новой задаче
Block a user