diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-01-18 18:23:38 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-01-18 18:24:11 -0600 |
commit | 9e8d601fcbcc6b5a6d75b14e0e4901bce3cab6af (patch) | |
tree | baf2be75ba8748cc069fc13e61b65bac6fa7cf35 /src/usr | |
parent | a683fa0aec68bda1b235d999b365289832c9bbdf (diff) | |
download | pfsense-9e8d601fcbcc6b5a6d75b14e0e4901bce3cab6af.zip pfsense-9e8d601fcbcc6b5a6d75b14e0e4901bce3cab6af.tar.gz |
Include the zone in link for display of login page so it shows up correctly.
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/services_captiveportal.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_captiveportal.php b/src/usr/local/www/services_captiveportal.php index ce4c96c..663e7c6 100644 --- a/src/usr/local/www/services_captiveportal.php +++ b/src/usr/local/www/services_captiveportal.php @@ -1083,10 +1083,10 @@ list($host) = explode(":", $_SERVER['HTTP_HOST']); $zoneid = $pconfig['zoneid'] ? $pconfig['zoneid'] : 8000; if ($pconfig['httpslogin_enable']) { $port = $pconfig['listenporthttps'] ? $pconfig['listenporthttps'] : ($zoneid + 8001); - $href = "https://{$host}:{$port}"; + $href = "https://{$host}:{$port}/?zone={$cpzone}"; } else { $port = $pconfig['listenporthttp'] ? $pconfig['listenporthttp'] : ($zoneid + 8000); - $href = "http://{$host}:{$port}"; + $href = "http://{$host}:{$port}/?zone={$cpzone}"; } if ($pconfig['page']['htmltext']) { |