Jelajahi Sumber

set ssoEnabled = true on network config if we get ERROR_NETWORK_AUTHENTICATION_REQUIRED

Grant Limberg 4 tahun lalu
induk
melakukan
8dd3639576
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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