summaryrefslogtreecommitdiff
path: root/classes/handler.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-15 18:16:33 +0300
committerAndrew Dolgov <[email protected]>2020-09-15 18:16:33 +0300
commit0706a328a4e97152b745f902373cebbd4e0e6153 (patch)
tree05f1bc9fa9f5a04a4a9bf9d69f774836e939d511 /classes/handler.php
parent0a142912d3cf9ffa226b5b024b1cf5c7a150d7e2 (diff)
handler: default base csrf_ignore() to false
Diffstat (limited to 'classes/handler.php')
-rw-r--r--classes/handler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/classes/handler.php b/classes/handler.php
index 5b1109492..09557c284 100644
--- a/classes/handler.php
+++ b/classes/handler.php
@@ -9,7 +9,7 @@ class Handler implements IHandler {
}
function csrf_ignore($method) {
- return true;
+ return false;
}
function before($method) {
@@ -20,4 +20,4 @@ class Handler implements IHandler {
return true;
}
-} \ No newline at end of file
+}