diff options
author | Michael Newton <miken32@gmail.com> | 2013-01-29 10:59:17 -0800 |
---|---|---|
committer | Michael Newton <miken32@gmail.com> | 2013-01-29 10:59:17 -0800 |
commit | 16a0308da21b0a90c9bb48cb1508335fd9162b6a (patch) | |
tree | eaa46780d4aaca74ce894ebfce9dc025bcc9cd9a /usr/local/captiveportal/index.php | |
parent | cc6052f00d7042a47fcc69f97f2bc8175ce33468 (diff) | |
download | pfsense-16a0308da21b0a90c9bb48cb1508335fd9162b6a.zip pfsense-16a0308da21b0a90c9bb48cb1508335fd9162b6a.tar.gz |
allow empty CP password to be sent to RADIUS server
Diffstat (limited to 'usr/local/captiveportal/index.php')
-rwxr-xr-x | usr/local/captiveportal/index.php | 2 |
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']; |