diff options
author | Renato Botelho <garga@FreeBSD.org> | 2015-03-26 14:51:23 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-03-26 14:51:23 -0300 |
commit | 8f20b01661284b229601a17a01440bc4f3ce95d5 (patch) | |
tree | 5835e7cfe8a344e882237b5b247f147ca8fc3b57 /usr | |
parent | 88f63af004f861d50b01a0b9aeee718824746707 (diff) | |
parent | 4828d672b1fbb06e45c272b329aafcfa9b9a8e20 (diff) | |
download | pfsense-8f20b01661284b229601a17a01440bc4f3ce95d5.zip pfsense-8f20b01661284b229601a17a01440bc4f3ce95d5.tar.gz |
Merge pull request #1587 from Gertjanpfsense/master
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/captiveportal/index.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/captiveportal/index.php b/usr/local/captiveportal/index.php index 357537f..90f0dbb 100644 --- a/usr/local/captiveportal/index.php +++ b/usr/local/captiveportal/index.php @@ -173,14 +173,14 @@ EOD; // YES: user is good for $timecredit minutes. captiveportal_logportalauth($voucher,$clientmac,$clientip,"Voucher login good for $timecredit min."); } else { - portal_reply_page($redirurl, "error", $config['voucher'][$cpzone]['msgexpired'] ? $config['voucher'][$cpzone]['msgexpired']: $errormsg); + portal_reply_page($redirurl, "error", $config['voucher'][$cpzone]['descrmsgexpired'] ? $config['voucher'][$cpzone]['descrmsgexpired']: $errormsg); } } else if (-1 == $timecredit) { // valid but expired captiveportal_logportalauth($voucher,$clientmac,$clientip,"FAILURE","voucher expired"); - portal_reply_page($redirurl, "error", $config['voucher'][$cpzone]['msgexpired'] ? $config['voucher'][$cpzone]['msgexpired']: $errormsg); + portal_reply_page($redirurl, "error", $config['voucher'][$cpzone]['descrmsgexpired'] ? $config['voucher'][$cpzone]['descrmsgexpired']: $errormsg); } else { captiveportal_logportalauth($voucher,$clientmac,$clientip,"FAILURE"); - portal_reply_page($redirurl, "error", $config['voucher'][$cpzone]['msgnoaccess'] ? $config['voucher'][$cpzone]['msgnoaccess'] : $errormsg); + portal_reply_page($redirurl, "error", $config['voucher'][$cpzone]['descrmsgnoaccess'] ? $config['voucher'][$cpzone]['descrmsgnoaccess'] : $errormsg); } } else if ($_POST['accept'] && $radius_enable) { |