summaryrefslogtreecommitdiffstats
path: root/endpoints
diff options
context:
space:
mode:
authorh6w <tudor@tudorholton.com>2020-01-29 11:17:47 +1100
committerGitHub <noreply@github.com>2020-01-29 11:17:47 +1100
commit9280388108fd7c41924599ddf1f831b157e3aea8 (patch)
treed8fe0fa1353ab91f1e3097093e30bcc649f4f692 /endpoints
parent10a64960ef753f8be322324c77eeaaaeed44b37b (diff)
parentd53b520a044905aa8739f19ee1d11e577c98f461 (diff)
downloadphpvirtualbox-9280388108fd7c41924599ddf1f831b157e3aea8.zip
phpvirtualbox-9280388108fd7c41924599ddf1f831b157e3aea8.tar.gz
phpvirtualbox-9280388108fd7c41924599ddf1f831b157e3aea8.tar.bz2
Merge pull request #215 from cesium147/fix-vrde-authtype
FIX: Remote Display (VRDP Support) Authentication Type set to Null
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 5395d61..671317d 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