mirror of https://github.com/portainer/portainer
feat(analytis): `EnableTelemetry` defaults to `false` (#7539)
parent
ad8054ac1f
commit
4c98fcd7db
|
@ -44,7 +44,7 @@ func (store *Store) checkOrCreateDefaultSettings() error {
|
||||||
settings, err := store.SettingsService.Settings()
|
settings, err := store.SettingsService.Settings()
|
||||||
if store.IsErrObjectNotFound(err) {
|
if store.IsErrObjectNotFound(err) {
|
||||||
defaultSettings := &portainer.Settings{
|
defaultSettings := &portainer.Settings{
|
||||||
EnableTelemetry: true,
|
EnableTelemetry: false,
|
||||||
AuthenticationMethod: portainer.AuthenticationInternal,
|
AuthenticationMethod: portainer.AuthenticationInternal,
|
||||||
BlackListedLabels: make([]portainer.Pair, 0),
|
BlackListedLabels: make([]portainer.Pair, 0),
|
||||||
InternalAuthSettings: portainer.InternalAuthSettings{
|
InternalAuthSettings: portainer.InternalAuthSettings{
|
||||||
|
|
Loading…
Reference in New Issue