summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-08-30 17:25:54 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-08-30 17:25:54 -0400
commitfeb252a23f6b376968a4c8dbab7e2ad385826642 (patch)
treedb091ae4ab97d3428c329e8902acab3d6b624fc1
parentc20563574bc081016316e563af4200fe6db10311 (diff)
downloadpfsense-feb252a23f6b376968a4c8dbab7e2ad385826642.zip
pfsense-feb252a23f6b376968a4c8dbab7e2ad385826642.tar.gz
Add a note about pressing cancel if user does not want to recreate the vouchers
-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 f45e60c..c79b84d 100644
--- a/usr/local/www/services_captiveportal_vouchers.php
+++ b/usr/local/www/services_captiveportal_vouchers.php
@@ -52,7 +52,7 @@ if($_REQUEST['generatekey']) {
$privatekey = str_replace("\n", "\\n", file_get_contents("/tmp/key64.private"));
$publickey = str_replace("\n", "\\n", file_get_contents("/tmp/key64.public"));
exec("rm /tmp/key64.private /tmp/key64.public");
- $alertmessage = gettext("You will need to recreate any existing Voucher Rolls due to the public and private key changes.");
+ $alertmessage = gettext("You will need to recreate any existing Voucher Rolls due to the public and private key changes. Click cancel if you do not wish to recreate the vouchers.");
echo <<<EOF
\$('publickey').value = '{$publickey}';
\$('privatekey').value = '{$privatekey}';
OpenPOWER on IntegriCloud