Closed Matthimatiker closed 12 years ago
Created plugin Mol_Form_Factory_Plugin_Csrf
.
The plugin can also be activated via configuration:
resources.form.plugins.csrf.class = "Mol_Form_Factory_Plugin_Csrf"
resources.form.plugins.csrf.options.element.name = "my_csrf_token"
resources.form.plugins.csrf.options.element.salt = "secret-salt"
resources.form.plugins.csrf.options.element.timeout = 1800
Create a form factory plugin that adds CSRF tokens to create form instances.