From c4016e703f45e25f38625ffed84dedaebfdf8858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Ivan=C4=8Di=C4=87?= Date: Thu, 7 Dec 2023 19:33:25 +0100 Subject: [PATCH] Move to array callback format --- 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 c4893ca6..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\Forms\Controls\CsrfProtection::validateCsrf'; + final public const PROTECTION = [\SimpleSAML\Module\oidc\Forms\Controls\CsrfProtection::class, 'validateCsrf']; protected Session $sspSession;