Skip to content

Commit fe6f648

Browse files
Fix CsrfProtection callable and move it to array callback format (#213)
* Fix CsrfProtection callable and move it to array callback format --------- Co-authored-by: Marko Ivančić <[email protected]>
1 parent 9b3cd12 commit fe6f648

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Forms/Controls/CsrfProtection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
class CsrfProtection extends BaseCsrfProtection
2626
{
27-
final public const PROTECTION = 'SimpleSAML\Module\oidc\Form\Controls\CsrfProtection::validateCsrf';
27+
final public const PROTECTION = [\SimpleSAML\Module\oidc\Forms\Controls\CsrfProtection::class, 'validateCsrf'];
2828

2929
protected Session $sspSession;
3030

0 commit comments

Comments
 (0)