Add anti-bot nonce field to generated forms. Closes #541.
This commit is contained in:
parent
b163b1305b
commit
ed8d68bd54
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@
|
|||
<pre v-if="checked.length > 0"><form method="post" action="{{ settings['app.root_url'] }}/subscription/form" class="listmonk-form">
|
||||
<div>
|
||||
<h3>Subscribe</h3>
|
||||
<input type="hidden" name="nonce" />
|
||||
<p><input type="email" name="email" required placeholder="{{ $t('subscribers.email') }}" /></p>
|
||||
<p><input type="text" name="name" placeholder="{{ $t('public.subName') }}" /></p>
|
||||
<template v-for="l in publicLists"><span v-if="l.uuid in selected" :key="l.id" :set="id = l.uuid.substr(0, 5)">
|
||||
|
|
Loading…
Reference in a new issue