summaryrefslogtreecommitdiffstats
path: root/endpoints
diff options
context:
space:
mode:
authorcesium147 <3448068+cesium147@users.noreply.github.com>2019-12-15 04:54:06 +0300
committercesium147 <3448068+cesium147@users.noreply.github.com>2019-12-15 05:22:32 +0300
commitd53b520a044905aa8739f19ee1d11e577c98f461 (patch)
tree1e4501a1d744bc7dcf71af59c0d3fb8c87529754 /endpoints
parent3c981d4df12a3280d7037116f13ee75e5a8fc7a2 (diff)
downloadphpvirtualbox-d53b520a044905aa8739f19ee1d11e577c98f461.zip
phpvirtualbox-d53b520a044905aa8739f19ee1d11e577c98f461.tar.gz
phpvirtualbox-d53b520a044905aa8739f19ee1d11e577c98f461.tar.bz2
FIX: Remote Display (VRDP Support) Authentication Type set to Null
ADD: Exception of VRDP settings to vboxconnector errors stack
Diffstat (limited to 'endpoints')
-rw-r--r--endpoints/lib/vboxconnector.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/endpoints/lib/vboxconnector.php b/endpoints/lib/vboxconnector.php
index 2224d32..0fc77df 100644
--- a/endpoints/lib/vboxconnector.php
+++ b/endpoints/lib/vboxconnector.php
@@ -1470,10 +1470,11 @@ class vboxconnector {
$m->VRDEServer->enabled = $args['VRDEServer']['enabled'];
$m->VRDEServer->setVRDEProperty('TCP/Ports',$args['VRDEServer']['ports']);
$m->VRDEServer->setVRDEProperty('VNCPassword',$args['VRDEServer']['VNCPassword'] ? $args['VRDEServer']['VNCPassword'] : null);
- $m->VRDEServer->authType = ($args['VRDEServer']['authType'] ? $args['VRDEServer']['authType'] : null);
+ $m->VRDEServer->authType = ($args['VRDEServer']['authType'] ? $args['VRDEServer']['authType'] : 'Null');
$m->VRDEServer->authTimeout = $args['VRDEServer']['authTimeout'];
}
} catch (Exception $e) {
+ $this->errors[] = $e;
}
// Storage Controllers if machine is in a valid state
@@ -1926,11 +1927,12 @@ class vboxconnector {
if(@$this->settings->enableAdvancedConfig)
$m->VRDEServer->setVRDEProperty('TCP/Address',$args['VRDEServer']['netAddress']);
$m->VRDEServer->setVRDEProperty('VNCPassword',$args['VRDEServer']['VNCPassword'] ? $args['VRDEServer']['VNCPassword'] : null);
- $m->VRDEServer->authType = ($args['VRDEServer']['authType'] ? $args['VRDEServer']['authType'] : null);
+ $m->VRDEServer->authType = ($args['VRDEServer']['authType'] ? $args['VRDEServer']['authType'] : 'Null');
$m->VRDEServer->authTimeout = $args['VRDEServer']['authTimeout'];
$m->VRDEServer->allowMultiConnection = $args['VRDEServer']['allowMultiConnection'];
}
} catch (Exception $e) {
+ $this->errors[] = $e;
}
// Audio controller settings