Add form nonce to custom form code
This commit is contained in:
parent
2e1769935c
commit
483bfe3e55
1 changed files with 3 additions and 0 deletions
|
@ -15,4 +15,7 @@
|
|||
<button class="button" type="{{ button.type|default('submit') }}">{{ button.value|default('Submit') }}</button>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{{ nonce_field('form', 'form-nonce') }}
|
||||
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue