Dancer2-Plugin-CSRFI
view release on metacpan or search on metacpan
lib/Dancer2/Plugin/CSRFI.pm view on Meta::CPAN
If true, token will be refreshed on each hit.
This makes your applications more secure, but in many cases, is too strict.
=head3 template_token
If provided, template token with csrf token will be set.
=head3 validate_post
If true, token will be automatically validates each post request with
content-types application/x-www-form-urlencoded or multipart/form-data.
=head3 field_name
Filed name in body-parameters sent with post request, where this module will try
to find csrf token, when validate_post is enabled.
=head3 error_status
Error with this status will be send if validate_post is enabled.
( run in 1.271 second using v1.01-cache-2.11-cpan-524268b4103 )