From: Michael Tremer Date: Wed, 24 Sep 2025 16:36:12 +0000 (+0200) Subject: ovpnmain.cgi: Remove the auth-nocache directive from clients X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e3e4d6fe8ab6b3e60157be3b2b08aa5fa2d05b67;p=ipfire-2.x.git 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 --- 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";