summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-12-29 16:27:34 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-12-29 16:27:43 -0500
commit7385a6b4beefb0806b2e21e7f2f0144f3f49bb19 (patch)
treed3f27d7c946d1b274b1313303c3f4a323303ac6e
parentf2141df0da5e2fbd712f407e54fcfa0f18d72fb6 (diff)
downloadpfsense-7385a6b4beefb0806b2e21e7f2f0144f3f49bb19.zip
pfsense-7385a6b4beefb0806b2e21e7f2f0144f3f49bb19.tar.gz
Turn off csrf checks
-rwxr-xr-xusr/local/www/system_firmware.php2
-rwxr-xr-xusr/local/www/system_firmware_auto.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index 93b6997..2e18719 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -43,6 +43,8 @@
##|-PRIV
$d_isfwfile = 1;
+$nocsrf = true;
+
require_once("globals.inc");
require_once("guiconfig.inc");
diff --git a/usr/local/www/system_firmware_auto.php b/usr/local/www/system_firmware_auto.php
index 4f655fe..d317b81 100755
--- a/usr/local/www/system_firmware_auto.php
+++ b/usr/local/www/system_firmware_auto.php
@@ -42,6 +42,8 @@
##|*MATCH=system_firmware_auto.php*
##|-PRIV
+$nocsrf = true;
+
require("guiconfig.inc");
require_once("pfsense-utils.inc");
OpenPOWER on IntegriCloud