mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-22 05:49:07 +01:00
vncserver: extract DisableVncAuth()
This commit is contained in:
parent
dc1850f1e7
commit
d6fa4b55d7
@ -96,8 +96,7 @@ my %config;
|
|||||||
# create a VNC password if they don't already have one.
|
# create a VNC password if they don't already have one.
|
||||||
#
|
#
|
||||||
|
|
||||||
# Disable vnc auth, kasmvnc uses https basic auth
|
&DisableVncAuth();
|
||||||
system("echo 'WrLNwLrcrxM=' | base64 -d > $vncUserDir/passwd");
|
|
||||||
|
|
||||||
$kasmAuthEnabled = 1;
|
$kasmAuthEnabled = 1;
|
||||||
|
|
||||||
@ -920,3 +919,8 @@ sub LoadSystemThenUserThenMandatoryConfigs {
|
|||||||
# development work that touches Xvnc itself.
|
# development work that touches Xvnc itself.
|
||||||
LoadConfig($vncSystemConfigMandatoryFile, 1);
|
LoadConfig($vncSystemConfigMandatoryFile, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub DisableVncAuth() {
|
||||||
|
# Disable vnc auth, kasmvnc uses https basic auth
|
||||||
|
system("echo 'WrLNwLrcrxM=' | base64 -d > $vncUserDir/passwd");
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user