Add nonce validation

This commit is contained in:
Flavio Copes 2015-11-10 16:25:18 +01:00
parent 27158eaea0
commit ab3d25cc22
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -21,6 +21,8 @@
<button class="button" type="{{ button.type|default('submit') }}">{{ button.value|default('Submit') }}</button>
{% endfor %}
</div>
{{ nonce_field('form', 'form-nonce') }}
</form>
<div class="alert">{{ form.message }}</div>