From 9a14c04073497996549f21b9023fc0fab4f99a95 Mon Sep 17 00:00:00 2001 From: mkasper Date: Sun, 8 Jan 2006 10:45:55 +0000 Subject: [PATCH] Fixed captive portal RADIUS Session-Timeout so that it'll also work even if reauthentication is disabled (fix by Jonathan de Graeve). git-svn-id: https://svn.m0n0.ch/wall/trunk@30 e36fee2c-cc09-0410-a7cc-ebac5c6737de --- phpconf/inc/captiveportal.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpconf/inc/captiveportal.inc b/phpconf/inc/captiveportal.inc index 2cbe623..ffaa92d 100644 --- a/phpconf/inc/captiveportal.inc +++ b/phpconf/inc/captiveportal.inc @@ -385,7 +385,7 @@ function captiveportal_prune_old() { else $idletimeout = 0; - if (!$timeout && !$idletimeout && !isset($config['captiveportal']['reauthenticate'])) + if (!$timeout && !$idletimeout && !isset($config['captiveportal']['reauthenticate']) && !isset($config['captiveportal']['radiussession_timeout'])) return; captiveportal_lock(); -- 2.25.1