summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-09-11 21:41:41 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-09-11 21:41:41 -0400
commitd402b77f6968980a066a93a9e562ed7f496e4a67 (patch)
treefdff2d99ac059930dea0755aac6bbdde6b11a50f /usr
parentb3890d78c0d3c2f1f851330bff1fcf68deb4b325 (diff)
downloadpfsense-d402b77f6968980a066a93a9e562ed7f496e4a67.zip
pfsense-d402b77f6968980a066a93a9e562ed7f496e4a67.tar.gz
Redirect back to cp page after disconnection of user
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/status_captiveportal.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/usr/local/www/status_captiveportal.php b/usr/local/www/status_captiveportal.php
index 7a66011..b2ed03b 100755
--- a/usr/local/www/status_captiveportal.php
+++ b/usr/local/www/status_captiveportal.php
@@ -38,6 +38,13 @@
require("guiconfig.inc");
+
+if ($_GET['act'] == "del") {
+ captiveportal_disconnect_client($_GET['id']);
+ Header("status_captiveportal.php");
+ exit;
+}
+
$pgtitle = array("Status: Captive portal");
include("head.inc");
@@ -49,10 +56,6 @@ include("head.inc");
<?php include("fbegin.inc"); ?>
<?php
-if ($_GET['act'] == "del") {
- captiveportal_disconnect_client($_GET['id']);
-}
-
flush();
function clientcmp($a, $b) {
OpenPOWER on IntegriCloud