We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[IsCsrfTokenValid]
$tokenKey
1 parent 6a1da67 commit 1b51727Copy full SHA for 1b51727
src/Symfony/Component/Security/Http/Attribute/IsCsrfTokenValid.php
@@ -25,7 +25,7 @@ public function __construct(
25
/**
26
* Sets the key of the request that contains the actual token value that should be validated.
27
*/
28
- public ?string $tokenKey = '_token',
+ public string $tokenKey = '_token',
29
30
31
* Sets the available http methods that can be used to validate the token.
0 commit comments