[Flow] CSRF Token
Adrian Föder
adrian at foeder.de
Tue Apr 22 15:35:29 CEST 2014
Hi,
also, you might want to have a look at the Security.CsrfToken ViewHelper.
I, for example, have it at a defined place in the DOM where I can access
it with JavaScript at any time (for example <body
data-csrf-token="{f:security.csrfToken()}"> or so).
Am 22.04.2014 14:16, schrieb Ali Reza Sajedi:
> Good day,
>
> How do I get the CSRF Token in a controller?
>
> I need this to be passed with JSON-Object to a form which gets created
> by javascript.
>
> Thank you.
More information about the Flow
mailing list