Helpers to generate form security tags for csrf protection.
#csrf_meta_tags ⇒ String
Constructs meta tags `csrf-param` and `csrf-token` with the name of the cross-site request forgery protection parameter and token, respectively. #csrf_token_field ⇒ String
Constructs a hidden field containing a CSRF token. Constructs meta tags `csrf-param` and `csrf-token` with the name of the cross-site request forgery protection parameter and token, respectively.
Constructs a hidden field containing a CSRF token.
© 2010–2019 Padrino
Licensed under the MIT License.
https://www.rubydoc.info/github/padrino/padrino-framework/Padrino/Helpers/FormHelpers/Security