summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim P <jim@pingle.org>2012-07-05 19:02:46 -0700
committerJim P <jim@pingle.org>2012-07-05 19:02:46 -0700
commit494c2ad9e1d7c5ae709c06dca76d321eaa990b34 (patch)
treea0651c4c7f3a08b18d3e4245bb3561184b4cf832
parent98c5d647ec5d24a2d3266827ab50f9c08a9702f9 (diff)
parentf3bea667b8139f47c0241df7089f6c198d299438 (diff)
downloadpfsense-494c2ad9e1d7c5ae709c06dca76d321eaa990b34.zip
pfsense-494c2ad9e1d7c5ae709c06dca76d321eaa990b34.tar.gz
Merge pull request #171 from bcyrill/patch-1
Fix Captive Portal SSL
-rwxr-xr-xusr/local/www/services_captiveportal.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal.php b/usr/local/www/services_captiveportal.php
index bfd7079..de2fe1d 100755
--- a/usr/local/www/services_captiveportal.php
+++ b/usr/local/www/services_captiveportal.php
@@ -257,7 +257,7 @@ if ($_POST) {
$newcp['radmac_enable'] = $_POST['radmac_enable'] ? true : false;
$newcp['radmac_secret'] = $_POST['radmac_secret'] ? $_POST['radmac_secret'] : false;
$newcp['reauthenticateacct'] = $_POST['reauthenticateacct'];
- if (isset($_POST['httpslogin_enable']))
+ if ($_POST['httpslogin_enable'])
$newcp['httpslogin'] = true;
else
unset($newcp['httpslogin']);
OpenPOWER on IntegriCloud