From: mkasper Date: Sun, 8 Jan 2006 10:45:55 +0000 (+0000) Subject: Fixed captive portal RADIUS Session-Timeout so that it'll also work even if reauthent... X-Git-Url: https://git.gsnw.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9a14c04073497996549f21b9023fc0fab4f99a95;p=m0n0chwall.git 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 --- 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();