summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-03-04 20:15:22 +0000
committerErmal <eri@pfsense.org>2011-03-04 20:15:22 +0000
commit006802ab988a6fd7be75d09f00464fd19c903ab7 (patch)
tree740d704fd6b05bdca3183849a8c784e77b403024 /usr/local/captiveportal
parent9ccecb65d8b9b8b58c719fec7746c934717c1164 (diff)
downloadpfsense-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-xusr/local/captiveportal/index.php2
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 */
OpenPOWER on IntegriCloud