Disable passing of basicauth in vncserver

This commit is contained in:
Dmitry Maksyoma 2021-03-25 23:05:20 +13:00
parent 1632f4888d
commit 4e8750e37a

View File

@ -465,8 +465,7 @@ sub LoadConfig {
} }
# change username option to basicAuth and add colon as required by Xvnc, password will be taken from file # change username option to basicAuth and add colon as required by Xvnc, password will be taken from file
if ($k = "username") { if ($k = "username") {
$config{"basicauth"} = "$v:"; next;
$vncUserName = $v;
} else { } else {
$config{$k} = $v; $config{$k} = $v;
} }