summaryrefslogtreecommitdiffstats
path: root/usr/local/www/index.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-12-21 20:57:26 -0500
committerScott Ullrich <sullrich@pfsense.org>2010-12-21 20:57:26 -0500
commita1d3953f11014eb1fc1e73f17ad6f7cbc7381223 (patch)
treeafcb99ef833bfd1d4c6a7d8acbe154fb55fd4172 /usr/local/www/index.php
parentf7bd00322c66148afeac2184ec5ba59b9853885e (diff)
downloadpfsense-a1d3953f11014eb1fc1e73f17ad6f7cbc7381223.zip
pfsense-a1d3953f11014eb1fc1e73f17ad6f7cbc7381223.tar.gz
Turn off csrf for dashboard
Diffstat (limited to 'usr/local/www/index.php')
-rwxr-xr-xusr/local/www/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/index.php b/usr/local/www/index.php
index 3bb68cf..7ee87cb 100755
--- a/usr/local/www/index.php
+++ b/usr/local/www/index.php
@@ -42,6 +42,9 @@
##|*MATCH=index.php*
##|-PRIV
+// Turn off csrf for the dashboard
+$nocsrf = true;
+
// Turn on buffering to speed up rendering
ini_set('output_buffering','true');
OpenPOWER on IntegriCloud