From fe6f6489ba78c25a9163947300921926ec5b6415 Mon Sep 17 00:00:00 2001 From: Al F Date: Thu, 7 Dec 2023 14:07:54 -0500 Subject: [PATCH] Fix CsrfProtection callable and move it to array callback format (#213) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fix CsrfProtection callable and move it to array callback format --------- Co-authored-by: Marko Ivančić --- src/Forms/Controls/CsrfProtection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Forms/Controls/CsrfProtection.php b/src/Forms/Controls/CsrfProtection.php index 7d9afb28..f7b81dd6 100644 --- a/src/Forms/Controls/CsrfProtection.php +++ b/src/Forms/Controls/CsrfProtection.php @@ -24,7 +24,7 @@ class CsrfProtection extends BaseCsrfProtection { - final public const PROTECTION = 'SimpleSAML\Module\oidc\Form\Controls\CsrfProtection::validateCsrf'; + final public const PROTECTION = [\SimpleSAML\Module\oidc\Forms\Controls\CsrfProtection::class, 'validateCsrf']; protected Session $sspSession;