From ab3d25cc22d353cacde094e5b0a2ca623c0753b5 Mon Sep 17 00:00:00 2001 From: Flavio Copes Date: Tue, 10 Nov 2015 16:25:18 +0100 Subject: [PATCH] Add nonce validation --- CHANGELOG.md | 6 ++++++ templates/partials/comments.html.twig | 2 ++ 2 files changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7e1acc0..f8b3612 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v1.0.1 +## 10/21/2015 + +1. [](#improved) + * Use onAdminMenu instead of the deprecated onAdminTemplateNavPluginHook + # v1.0.0 ## 10/21/2015 diff --git a/templates/partials/comments.html.twig b/templates/partials/comments.html.twig index 3462a23..e87a146 100644 --- a/templates/partials/comments.html.twig +++ b/templates/partials/comments.html.twig @@ -21,6 +21,8 @@ {% endfor %} + + {{ nonce_field('form', 'form-nonce') }}
{{ form.message }}