Skip to content

Commit

Permalink
Move to array callback format
Browse files Browse the repository at this point in the history
  • Loading branch information
cicnavi committed Dec 7, 2023
1 parent 4a34cb4 commit c4016e7
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\Forms\Controls\CsrfProtection::validateCsrf';
final public const PROTECTION = [\SimpleSAML\Module\oidc\Forms\Controls\CsrfProtection::class, 'validateCsrf'];

protected Session $sspSession;

Expand Down

0 comments on commit c4016e7

Please sign in to comment.