Add nonce validation
This commit is contained in:
parent
27158eaea0
commit
ab3d25cc22
|
@ -1,3 +1,9 @@
|
||||||
|
# v1.0.1
|
||||||
|
## 10/21/2015
|
||||||
|
|
||||||
|
1. [](#improved)
|
||||||
|
* Use onAdminMenu instead of the deprecated onAdminTemplateNavPluginHook
|
||||||
|
|
||||||
# v1.0.0
|
# v1.0.0
|
||||||
## 10/21/2015
|
## 10/21/2015
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
<button class="button" type="{{ button.type|default('submit') }}">{{ button.value|default('Submit') }}</button>
|
<button class="button" type="{{ button.type|default('submit') }}">{{ button.value|default('Submit') }}</button>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ nonce_field('form', 'form-nonce') }}
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div class="alert">{{ form.message }}</div>
|
<div class="alert">{{ form.message }}</div>
|
||||||
|
|
Loading…
Reference in New Issue