diff --git a/.drone.star b/.drone.star index 91e0ae70ce7..3607328fe63 100644 --- a/.drone.star +++ b/.drone.star @@ -1627,6 +1627,8 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on = "OCIS_LOG_LEVEL": "error", "SETTINGS_DATA_PATH": "/srv/app/tmp/ocis/settings", "OCIS_INSECURE": "true", + "ACCOUNTS_DEMO_USERS_AND_GROUPS": True, # deprecated, remove after switching to LibreIDM + "IDM_CREATE_DEMO_USERS": True, } else: user = "33:33" @@ -1707,6 +1709,8 @@ def ocisServer(storage, accounts_hash_difficulty = 4, volumes = [], depends_on = "OCIS_MACHINE_AUTH_API_KEY": "change-me-please", "OCIS_INSECURE": "true", "PROXY_ENABLE_BASIC_AUTH": "true", + "ACCOUNTS_DEMO_USERS_AND_GROUPS": True, # deprecated, remove after switching to LibreIDM + "IDM_CREATE_DEMO_USERS": True, } # Pass in "default" accounts_hash_difficulty to not set this environment variable. diff --git a/accounts/pkg/config/defaults/defaultconfig.go b/accounts/pkg/config/defaults/defaultconfig.go index 8e8a82266f3..25912cfa648 100644 --- a/accounts/pkg/config/defaults/defaultconfig.go +++ b/accounts/pkg/config/defaults/defaultconfig.go @@ -49,7 +49,7 @@ func DefaultConfig() *config.Config { JWTSecret: "Pive-Fumkiu4", }, HashDifficulty: 11, - DemoUsersAndGroups: true, + DemoUsersAndGroups: false, Repo: config.Repo{ Backend: "CS3", Disk: config.Disk{ diff --git a/idm/pkg/config/defaults/defaultconfig.go b/idm/pkg/config/defaults/defaultconfig.go index 83e1bcfee66..97bf67d427f 100644 --- a/idm/pkg/config/defaults/defaultconfig.go +++ b/idm/pkg/config/defaults/defaultconfig.go @@ -21,7 +21,7 @@ func DefaultConfig() *config.Config { Service: config.Service{ Name: "idm", }, - CreateDemoUsers: true, + CreateDemoUsers: false, ServiceUserPasswords: config.ServiceUserPasswords{ IdmAdmin: "idm", Idp: "idp",