]> git.gsnw.org Git - m0n0chwall.git/commitdiff
Fixed captive portal RADIUS Session-Timeout so that it'll also work even if reauthent...
authormkasper <mkasper@e36fee2c-cc09-0410-a7cc-ebac5c6737de>
Sun, 8 Jan 2006 10:45:55 +0000 (10:45 +0000)
committermkasper <mkasper@e36fee2c-cc09-0410-a7cc-ebac5c6737de>
Sun, 8 Jan 2006 10:45:55 +0000 (10:45 +0000)
git-svn-id: https://svn.m0n0.ch/wall/trunk@30 e36fee2c-cc09-0410-a7cc-ebac5c6737de

phpconf/inc/captiveportal.inc

index 2cbe6232a2b6ad41955052b1f9bf2dfc49779fc3..ffaa92dfef058dd776a8d412fcfea64019d70847 100644 (file)
@@ -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();