mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add zone. Fixes #1945
This commit is contained in:
parent
041e3190b0
commit
8a880cb972
@ -317,7 +317,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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user