summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_backup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-11-15 14:16:50 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-11-15 14:16:54 -0500
commit99b1cc43b31c9671ab5a63ef825ed2d3a3d5d130 (patch)
treec29f968d745a46c5fc301e9efd5bfae80ae81dc2 /usr/local/www/diag_backup.php
parent0dcdbc8573dcade8f78f467dd084b440134201bc (diff)
downloadpfsense-99b1cc43b31c9671ab5a63ef825ed2d3a3d5d130.zip
pfsense-99b1cc43b31c9671ab5a63ef825ed2d3a3d5d130.tar.gz
Disable CSRF checks on the backup page.
Diffstat (limited to 'usr/local/www/diag_backup.php')
-rwxr-xr-xusr/local/www/diag_backup.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index ad96ed3..410fb0b 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -49,6 +49,7 @@ ini_set('max_input_time', '0');
/* omit no-cache headers because it confuses IE with file downloads */
$omit_nocacheheaders = true;
+$nocsrf = true;
require("guiconfig.inc");
require_once("functions.inc");
require_once("filter.inc");
OpenPOWER on IntegriCloud