mirror of
https://github.com/kasmtech/KasmVNC.git
synced 2025-01-05 21:48:49 +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.
|
||||
#
|
||||
|
||||
# Disable vnc auth, kasmvnc uses https basic auth
|
||||
system("echo 'WrLNwLrcrxM=' | base64 -d > $vncUserDir/passwd");
|
||||
&DisableVncAuth();
|
||||
|
||||
$kasmAuthEnabled = 1;
|
||||
|
||||
@ -920,3 +919,8 @@ sub LoadSystemThenUserThenMandatoryConfigs {
|
||||
# development work that touches Xvnc itself.
|
||||
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