diff options
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java index a91cbb8b361..d4051edd6f3 100644 --- a/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java +++ b/sonar-core/src/main/java/org/sonar/core/config/CorePropertyDefinitions.java @@ -48,8 +48,7 @@ public class CorePropertyDefinitions { private static final String TIMEMACHINE_DEFAULT_PERIOD_5 = ""; private static final String CATEGORY_ORGANIZATIONS = "organizations"; - private static final String ORGANIZATIONS_ANYONE_CAN_CREATE = "sonar.organizations.anyoneCanCreate"; - private static final boolean ORGANIZATIONS_ANYONE_CAN_CREATE_DEFAULT_VALUE = false; + public static final String ORGANIZATIONS_ANYONE_CAN_CREATE = "sonar.organizations.anyoneCanCreate"; private CorePropertyDefinitions() { // only static stuff @@ -290,7 +289,7 @@ public class CorePropertyDefinitions { // ORGANIZATIONS PropertyDefinition.builder(ORGANIZATIONS_ANYONE_CAN_CREATE) .name("Allow any authenticated user to create organizations") - .defaultValue(Boolean.toString(ORGANIZATIONS_ANYONE_CAN_CREATE_DEFAULT_VALUE)) + .defaultValue(Boolean.toString(false)) .category(CATEGORY_ORGANIZATIONS) .type(PropertyType.BOOLEAN) .build())); |