diff options
author | Ermal <eri@pfsense.org> | 2011-05-25 20:36:01 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-05-25 20:36:01 +0000 |
commit | c206a2ab96e835672bb073b0579d0a3290296067 (patch) | |
tree | 59afe9edc402de61db8c6260d0b360c0d7024395 | |
parent | 05771a248503a0af661195f3e8759fc04370ea2b (diff) | |
download | pfsense-c206a2ab96e835672bb073b0579d0a3290296067.zip pfsense-c206a2ab96e835672bb073b0579d0a3290296067.tar.gz |
Disable csrf checks when posting from scripts.
-rw-r--r-- | usr/local/www/services_captiveportal_vouchers.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/services_captiveportal_vouchers.php b/usr/local/www/services_captiveportal_vouchers.php index d5c8347..e1c54b1 100644 --- a/usr/local/www/services_captiveportal_vouchers.php +++ b/usr/local/www/services_captiveportal_vouchers.php @@ -39,6 +39,8 @@ $statusurl = "status_captiveportal_vouchers.php"; $logurl = "diag_logs_auth.php"; +if ($_POST['postafterlogin']) + $nocsrf= true; require("guiconfig.inc"); require("functions.inc"); require("filter.inc"); |