From e3e4d6fe8ab6b3e60157be3b2b08aa5fa2d05b67 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 24 Sep 2025 18:36:12 +0200 Subject: [PATCH] ovpnmain.cgi: Remove the auth-nocache directive from clients This seems to have some weird effects on Windows clients using OpenVPN 2.6.14 where username/password popup appears after one hour. Since we don't use any real username/password authentication, we will have to make sure that the client keeps using the fake data that we have added to the configuration. Signed-off-by: Michael Tremer --- html/cgi-bin/ovpnmain.cgi | 3 --- 1 file changed, 3 deletions(-) diff --git a/html/cgi-bin/ovpnmain.cgi b/html/cgi-bin/ovpnmain.cgi index 5bc569bcf..52261b889 100644 --- a/html/cgi-bin/ovpnmain.cgi +++ b/html/cgi-bin/ovpnmain.cgi @@ -2439,9 +2439,6 @@ END print "auth $vpnsettings{'DAUTH'}\n"; } - # Disable storing any credentials in memory - print "auth-nocache\n"; - # Set a fake user name for authentication print "auth-user-pass\n"; print "auth-token-user USER\n"; -- 2.47.3