Prechádzať zdrojové kódy

set ssoEnabled = true on network config if we get ERROR_NETWORK_AUTHENTICATION_REQUIRED

Grant Limberg 4 rokov pred
rodič
commit
8dd3639576
1 zmenil súbory, kde vykonal 2 pridanie a 1 odobranie
  1. 2 1
      node/Network.hpp

+ 2 - 1
node/Network.hpp

@@ -228,7 +228,8 @@ public:
 		Mutex::Lock _l(_lock);
 		_netconfFailure = NETCONF_FAILURE_AUTHENTICATION_REQUIRED;
 		_authenticationURL = (url) ? url : "";
-	}
+		_config.ssoEnabled = true;
+	}	
 
 	/**
 	 * Causes this network to request an updated configuration from its master node now