From 40330d5a2d0384e015c7c832c8f6328d3c7ec769 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sun, 29 Jan 2023 14:28:41 +0100 Subject: fix: Remove double CSRF checking The second verification (by us) fails. The constructor already performs a verification so we do not need to. Signed-off-by: Florian Pritz --- application/core/MY_Controller.php | 1 - 1 file changed, 1 deletion(-) (limited to 'application') diff --git a/application/core/MY_Controller.php b/application/core/MY_Controller.php index 6e0d9d0a2..ce8e0e948 100644 --- a/application/core/MY_Controller.php +++ b/application/core/MY_Controller.php @@ -123,6 +123,5 @@ class MY_Controller extends CI_Controller { } $this->security->__construct('UTF-8'); - $this->security->csrf_verify(); } } -- cgit v1.2.3-24-g4f1b