Sfoglia il codice sorgente

Change default value for DISABLE_ALLOWLIST variable

jnfrati 3 anni fa
parent
commit
da8b7fd267
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      api/server/shared/config/env/envconfs.go

+ 1 - 1
api/server/shared/config/env/envconfs.go

@@ -100,7 +100,7 @@ type ServerConf struct {
 	ProvisionerTest bool `env:"PROVISIONER_TEST,default=false"`
 
 	// Disable filtering for project creation
-	DisableAllowlist bool `env:"DISABLE_ALLOWLIST,default=false"`
+	DisableAllowlist bool `env:"DISABLE_ALLOWLIST,default=true"`
 
 	// Enable gitlab integration
 	EnableGitlab bool `env:"ENABLE_GITLAB,default=false"`