summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-08-12 16:57:40 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-08-12 16:57:40 +0000
commit8e90e1e4b7d468321fe56aa7915fa290fce20435 (patch)
tree4636e9aca548da47d8c2426583bd2f5e9259758b /usr/local
parent89e3d8f3b28527997473039cf975efac094d3160 (diff)
downloadpfsense-8e90e1e4b7d468321fe56aa7915fa290fce20435.zip
pfsense-8e90e1e4b7d468321fe56aa7915fa290fce20435.tar.gz
Ensure we unlock captive portal before redirecting.
Diffstat (limited to 'usr/local')
-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 034dfa5..075dd9f 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -373,9 +373,9 @@ document.location.href="{$my_redirurl}";
EOD;
} else {
+ captiveportal_unlock();
header("Location: " . $my_redirurl);
}
-
captiveportal_unlock();
return $sessionid;
}
OpenPOWER on IntegriCloud