diff options
Diffstat (limited to 'utils/config.go')
-rw-r--r-- | utils/config.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/config.go b/utils/config.go index 0f5d69a13..7889ea9ac 100644 --- a/utils/config.go +++ b/utils/config.go @@ -329,6 +329,10 @@ func getClientConfig(c *model.Config) map[string]string { props["EnableCluster"] = strconv.FormatBool(*c.ClusterSettings.Enable) } + if *License.Features.Cluster { + props["EnableMetrics"] = strconv.FormatBool(*c.MetricsSettings.Enable) + } + if *License.Features.GoogleOAuth { props["EnableSignUpWithGoogle"] = strconv.FormatBool(c.GoogleSettings.Enable) } |