diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-08-24 18:05:37 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-08-24 18:06:06 -0400 |
commit | c7cdfe2037f07f26b4d8554dab8cdcb65df47a8c (patch) | |
tree | 608b9ad84a5089df3e01382728d1362043293360 /usr/local | |
parent | e80c551c2efcb99fbd46ad9125417bdaada19603 (diff) | |
download | pfsense-c7cdfe2037f07f26b4d8554dab8cdcb65df47a8c.zip pfsense-c7cdfe2037f07f26b4d8554dab8cdcb65df47a8c.tar.gz |
Remove ORIGINAL_PORTAL_IP option. Never did get it working correctly.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/captiveportal/index.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 6316d0c..79a9fa6 100755 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -486,12 +486,7 @@ function portal_allow($clientip,$clientmac,$username,$password = null, $attribut include("{$g['varetc_path']}/captiveportal-logout.html"); } else { - if($_POST['ORIGINAL_PORTAL_IP'] && $_SERVER['SERVER_NAME'] != $_POST['ORIGINAL_PORTAL_IP']) { - header ('HTTP/1.1 301 Moved Permanently'); - header("Location: " . $_POST['ORIGINAL_PORTAL_IP']); - } else { - header("Location: " . $my_redirurl); - } + header("Location: " . $my_redirurl); } return $sessionid; |