From f187aa95404211ed6839420c31b61a4318700dcb Mon Sep 17 00:00:00 2001 From: Dmitry Maksyoma Date: Fri, 13 Aug 2021 18:26:22 +1200 Subject: [PATCH] vncserver: remove obsolete code --- unix/vncserver | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/unix/vncserver b/unix/vncserver index 0451503..8a59ad0 100755 --- a/unix/vncserver +++ b/unix/vncserver @@ -38,11 +38,8 @@ use Time::HiRes qw (sleep); &PrepareDefaultsForPassingToXvnc(); -$kasmAuthEnabled = 1; &DisableVncAuth(); -if ($kasmAuthEnabled) { - &EnsureAtLeastOneKasmUserExists(); -} +&EnsureAtLeastOneKasmUserExists(); &SetupXauthorityFile();