diff --git a/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/server/CBApplication.java b/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/server/CBApplication.java index a257175166..0f92aa77df 100644 --- a/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/server/CBApplication.java +++ b/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/server/CBApplication.java @@ -443,9 +443,9 @@ public class CBApplication extends BaseApplicationImpl { { json.name("app"); json.beginObject(); - if (appConfig.isAnonymousAccessEnabled()) JSONUtils.field(json, "anonymousAccessEnabled", true); - if (appConfig.isAuthenticationEnabled()) JSONUtils.field(json, "authenticationEnabled", true); - if (appConfig.isSupportsCustomConnections()) JSONUtils.field(json, "supportsCustomConnections", true); + JSONUtils.field(json, "anonymousAccessEnabled", appConfig.isAnonymousAccessEnabled()); + JSONUtils.field(json, "authenticationEnabled", appConfig.isAuthenticationEnabled()); + JSONUtils.field(json, "supportsCustomConnections", appConfig.isSupportsCustomConnections()); json.endObject(); } json.endObject();