Sfoglia il codice sorgente

Merge pull request #2342 from porter-dev/nico/disable-allowlist-by-default

[FIX] Change default value for DISABLE_ALLOWLIST variable
abelanger5 3 anni fa
parent
commit
be90a6f461
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"`
 	ProvisionerTest bool `env:"PROVISIONER_TEST,default=false"`
 
 
 	// Disable filtering for project creation
 	// Disable filtering for project creation
-	DisableAllowlist bool `env:"DISABLE_ALLOWLIST,default=false"`
+	DisableAllowlist bool `env:"DISABLE_ALLOWLIST,default=true"`
 
 
 	// Enable gitlab integration
 	// Enable gitlab integration
 	EnableGitlab bool `env:"ENABLE_GITLAB,default=false"`
 	EnableGitlab bool `env:"ENABLE_GITLAB,default=false"`