From 925691e78e4e05d9039b3961ded5a8867c033d56 Mon Sep 17 00:00:00 2001 From: objecttothis Date: Thu, 2 Feb 2023 15:05:22 +0400 Subject: [PATCH] Temporarily disabling CSRF until we can figure out what parts need to stay from CI3 and what needs to be stripped out. --- app/Config/Filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Config/Filters.php b/app/Config/Filters.php index 9bdc9ec86..4cc27dc5d 100644 --- a/app/Config/Filters.php +++ b/app/Config/Filters.php @@ -30,7 +30,7 @@ class Filters extends BaseConfig public array $globals = [ 'before' => [ 'honeypot', - 'csrf' => ['except' => 'login'], + //'csrf' => ['except' => 'login'], //TODO: Temporarily disable CSRF until we get everything sorted. 'invalidchars', ], 'after' => [