Skip to content

Commit

Permalink
Add anti-bot nonce field to generated forms. Closes #541.
Browse files Browse the repository at this point in the history
  • Loading branch information
knadh committed Oct 27, 2021
1 parent b163b13 commit ed8d68b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/views/Forms.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
<pre v-if="checked.length > 0">&lt;form method=&quot;post&quot; action=&quot;{{ settings['app.root_url'] }}/subscription/form&quot; class=&quot;listmonk-form&quot;&gt;
&lt;div&gt;
&lt;h3&gt;Subscribe&lt;/h3&gt;
&lt;input type=&quot;hidden&quot; name=&quot;nonce&quot; /&gt;
&lt;p&gt;&lt;input type=&quot;email&quot; name=&quot;email&quot; required placeholder=&quot;{{ $t('subscribers.email') }}&quot; /&gt;&lt;/p&gt;
&lt;p&gt;&lt;input type=&quot;text&quot; name=&quot;name&quot; placeholder=&quot;{{ $t('public.subName') }}&quot; /&gt;&lt;/p&gt;
<template v-for="l in publicLists"><span v-if="l.uuid in selected" :key="l.id" :set="id = l.uuid.substr(0, 5)">
Expand Down

0 comments on commit ed8d68b

Please sign in to comment.