]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
ovpnmain.cgi: Remove the auth-nocache directive from clients
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 24 Sep 2025 16:36:12 +0000 (18:36 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 24 Sep 2025 16:38:39 +0000 (18:38 +0200)
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 <michael.tremer@ipfire.org>
html/cgi-bin/ovpnmain.cgi

index 5bc569bcfe48c0425c4834c91f3fc08eef6c43a7..52261b88990c8a13edf9c85d549a104b8ef852f7 100644 (file)
@@ -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";