diff options
author | Ermal <eri@pfsense.org> | 2011-06-15 14:22:24 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-06-15 14:22:24 +0000 |
commit | f45075dd98eefbad6d02794a335204c5dc8d7c74 (patch) | |
tree | 86a7a17509608b4f34556bb2352174227f95b063 /etc | |
parent | 8f5d92a99b982321109a6a729054da87a1a4fdee (diff) | |
download | pfsense-f45075dd98eefbad6d02794a335204c5dc8d7c74.zip pfsense-f45075dd98eefbad6d02794a335204c5dc8d7c74.tar.gz |
Restore this back to allow both users and vouchers enabled at same time.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/captiveportal.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/captiveportal.inc b/etc/inc/captiveportal.inc index b0cbf14..cd419ff 100644 --- a/etc/inc/captiveportal.inc +++ b/etc/inc/captiveportal.inc @@ -697,7 +697,7 @@ function captiveportal_prune_old() { } /* if vouchers are configured, activate session timeouts */ - if (!$timedout && isset($config['voucher']['enable'])) { + if (!$timedout && isset($config['voucher']['enable']) && !empty($cpentry[7])) { if ($pruning_time >= ($cpentry[0] + $cpentry[7])) { $timedout = true; $term_cause = 5; // Session-Timeout |