docs icon indicating copy to clipboard operation
docs copied to clipboard

Document how to use the CSRF REQUEST_TOKEN in Symfony forms

Open ausi opened this issue 4 years ago • 0 comments

https://github.com/contao/contao/pull/3214

$this->createFormBuilder(…, [
    'csrf_field_name' => 'REQUEST_TOKEN',
    'csrf_token_manager' => $manager, // @contao.csrf.token_manager
    'csrf_token_id' => $tokenName, // %contao.csrf_token_name%
]);

ausi avatar Jul 26 '21 09:07 ausi