From 7892fdf5d830a1c832b86282c50d038c29a1c093 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms Date: Thu, 29 Aug 2024 14:40:20 +0000 Subject: make CSRFProtection::verifyRequest() private, fixes #4547 Closes #4547 Merge request studip/studip!3342 --- lib/classes/CSRFProtection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/classes/CSRFProtection.php b/lib/classes/CSRFProtection.php index 9afc623..05532d4 100644 --- a/lib/classes/CSRFProtection.php +++ b/lib/classes/CSRFProtection.php @@ -122,7 +122,7 @@ class CSRFProtection * * @returns boolean returns true if the request is valid */ - public static function verifyRequest() + private static function verifyRequest() { return Request::isGet() || self::checkSecurityToken(); } -- cgit v1.0