proxy: Use correct authentication cache TTL for AD
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jan 2019 14:48:32 +0000 (15:48 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 8 Jan 2019 14:48:32 +0000 (15:48 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/proxy.cgi

index 4c20fbf..5df7bdc 100644 (file)
@@ -3252,7 +3252,7 @@ END
                                print FILE "\n";
                                print FILE "auth_param basic children $proxysettings{'AUTH_CHILDREN'}\n";
                                print FILE "auth_param basic realm $authrealm\n";
-                               print FILE "auth_param basic credentialsttl 2 hours\n\n";
+                               print FILE "auth_param basic credentialsttl $proxysettings{'AUTH_CACHE_TTL'} minutes\n\n";
                        }
                }