Skip to content

Commit

Permalink
Fix CsrfProtection callable and move it to array callback format (#213)
Browse files Browse the repository at this point in the history
* Fix CsrfProtection callable and move it to array callback format

---------

Co-authored-by: Marko Ivančić <marko.ivancic@srce.hr>
  • Loading branch information
rmdashrfslash and cicnavi authored Dec 7, 2023
1 parent 9b3cd12 commit fe6f648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/Controls/CsrfProtection.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit fe6f648

Please sign in to comment.