diff options
author | Ermal <eri@pfsense.org> | 2011-03-04 20:15:22 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-03-04 20:15:22 +0000 |
commit | 006802ab988a6fd7be75d09f00464fd19c903ab7 (patch) | |
tree | 740d704fd6b05bdca3183849a8c784e77b403024 /usr/local/captiveportal | |
parent | 9ccecb65d8b9b8b58c719fec7746c934717c1164 (diff) | |
download | pfsense-006802ab988a6fd7be75d09f00464fd19c903ab7.zip pfsense-006802ab988a6fd7be75d09f00464fd19c903ab7.tar.gz |
* Prevent concurrent logins on CP to not be recorded on the DB.
* Make the locking more complex to avoid locking exclusively during pruning task which would hurt a lot CP performance.
* Retire the disconnect_client and make all the disconnect functions use the sessionid as identifier.
All this was triggered by: http://forum.pfsense.org/index.php/topic,33879.0.html
Diffstat (limited to 'usr/local/captiveportal')
-rwxr-xr-x | usr/local/captiveportal/index.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 30dec37..996cdeb 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -122,7 +122,7 @@ setTimeout('window.close();',5000) ; </HTML> EOD; - disconnect_client($_POST['logout_id']); + captiveportal_disconnect_client($_POST['logout_id']); exit; } else if ($clientmac && $radmac_enable && portal_mac_radius($clientmac,$clientip)) { /* radius functions handle everything so we exit here since we're done */ |