summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@gmail.com>2011-10-10 14:41:10 -0400
committerScott Ullrich <sullrich@gmail.com>2011-10-10 14:41:10 -0400
commit5dd5ef52a5676415da4acef460dc2244d9eb8dbf (patch)
tree5cedc738c09189a5454ee9dddcd79fae0f72d0c7 /usr
parent573ae2d13a56e9f83b24b906f748b1dc0a43acdc (diff)
downloadpfsense-5dd5ef52a5676415da4acef460dc2244d9eb8dbf.zip
pfsense-5dd5ef52a5676415da4acef460dc2244d9eb8dbf.tar.gz
Add zone. Fixes #1945
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/services_captiveportal_vouchers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_captiveportal_vouchers.php b/usr/local/www/services_captiveportal_vouchers.php
index df423a0..cbabf78 100644
--- a/usr/local/www/services_captiveportal_vouchers.php
+++ b/usr/local/www/services_captiveportal_vouchers.php
@@ -333,7 +333,7 @@ include("head.inc");
function generatenewkey() {
$('publickey').value = 'One moment please...';
$('privatekey').value = 'One moment please...';
- new Ajax.Request("services_captiveportal_vouchers.php?generatekey=true", {
+ new Ajax.Request("services_captiveportal_vouchers.php?zone=<?php echo($cpzone); ?>&generatekey=true", {
method: 'get',
onSuccess: function(transport) {
eval(transport.responseText);
OpenPOWER on IntegriCloud