summaryrefslogtreecommitdiffstats
path: root/usr/local/captiveportal
diff options
context:
space:
mode:
authorMichael Newton <miken32@gmail.com>2013-01-29 10:59:17 -0800
committerMichael Newton <miken32@gmail.com>2013-01-29 10:59:17 -0800
commit16a0308da21b0a90c9bb48cb1508335fd9162b6a (patch)
treeeaa46780d4aaca74ce894ebfce9dc025bcc9cd9a /usr/local/captiveportal
parentcc6052f00d7042a47fcc69f97f2bc8175ce33468 (diff)
downloadpfsense-16a0308da21b0a90c9bb48cb1508335fd9162b6a.zip
pfsense-16a0308da21b0a90c9bb48cb1508335fd9162b6a.tar.gz
allow empty CP password to be sent to RADIUS server
Diffstat (limited to 'usr/local/captiveportal')
-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 7034177..98b26e9 100755
--- a/usr/local/captiveportal/index.php
+++ b/usr/local/captiveportal/index.php
@@ -170,7 +170,7 @@ EOD;
}
} else if ($_POST['accept'] && $radius_enable) {
- if (($_POST['auth_user'] && $_POST['auth_pass']) || ($_POST['auth_user2'] && $_POST['auth_pass2'])) {
+ if (($_POST['auth_user'] && isset($_POST['auth_pass'])) || ($_POST['auth_user2'] && isset($_POST['auth_pass2']))) {
if (!empty($_POST['auth_user'])) {
$user = $_POST['auth_user'];
$paswd = $_POST['auth_pass'];
OpenPOWER on IntegriCloud