Browse Source

set ssoEnabled = true on network config if we get ERROR_NETWORK_AUTHENTICATION_REQUIRED

Grant Limberg 4 years ago
parent
commit
8dd3639576
1 changed files with 2 additions and 1 deletions
  1. 2 1
      node/Network.hpp

+ 2 - 1
node/Network.hpp

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