mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-274 Server config save fix (force params overwrite)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user