Skip to content
Snippets Groups Projects
Commit 7892fdf5 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

make CSRFProtection::verifyRequest() private, fixes #4547

Closes #4547

Merge request studip/studip!3342
parent c5bdbd16
No related branches found
No related tags found
No related merge requests found
...@@ -122,7 +122,7 @@ class CSRFProtection ...@@ -122,7 +122,7 @@ class CSRFProtection
* *
* @returns boolean returns true if the request is valid * @returns boolean returns true if the request is valid
*/ */
public static function verifyRequest() private static function verifyRequest()
{ {
return Request::isGet() || self::checkSecurityToken(); return Request::isGet() || self::checkSecurityToken();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment