mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-733 Network handler enablement check fixed
This commit is contained in:
@@ -320,7 +320,7 @@ public class WebServiceUtils {
|
||||
List<WebNetworkHandlerConfigInput> networkCredentials = webConnectionInfo.getSavedNetworkCredentials();
|
||||
if (networkCredentials != null) {
|
||||
networkCredentials.forEach(c -> {
|
||||
if (c != null && c.isEnabled()) {
|
||||
if (c != null && CommonUtils.toBoolean(c.isEnabled())) {
|
||||
DBWHandlerConfiguration handlerCfg = configuration.getHandler(c.getId());
|
||||
if (handlerCfg != null) {
|
||||
handlerCfg.setUserName(c.getUserName());
|
||||
|
||||
Reference in New Issue
Block a user