CB-274 Server config save fix (force params overwrite)

This commit is contained in:
Serge Rider
2020-09-07 20:25:29 +03:00
parent 7703109923
commit 6c12a51bab
@@ -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();