Skip to content

Commit

Permalink
honeypot against bots
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiix3 committed Sep 13, 2019
1 parent e51a600 commit c0b385b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
13 changes: 4 additions & 9 deletions pages/blimed.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ Som funksjonær får man et funksjonærbevis som gir deg internpriser på alle R

Vi møtes jevnlig på mandager i Realistforeningens kjeller 1804. Ønsker du å bli med så kan du sende oss en mail eller fylle ut skjemaet under.

<form name="JoinUs" method="POST" data-netlify="true">
<form name="JoinUs" method="POST" netlify-honeypot="bot-field" data-netlify="true">
<p class="hidden">
<label>Don’t fill this out if you're human: <input name="bot-field" /></label>
</p>
<p>
<label>Ditt navn: <input type="text" name="navn" /></label>
</p>
Expand All @@ -22,14 +25,6 @@ Vi møtes jevnlig på mandager i Realistforeningens kjeller 1804. Ønsker du å
<p>
<label>Telefon: <input type="number" name="nummer" /></label>
</p>
<p>
<label>Hva vil du drive mest med?: <select name="role[]" multiple>
<option value="Lys">Lys</option>
<option value="Lyd">Lyd</option>
<option value="Scene">Scene</option>
<option value="Alt - Lyst å gjøre alt">Alt - Lyst å gjøre alt</option>
</select></label>
</p>
<p>
<button type="submit">Send</button>
</p>
Expand Down
5 changes: 4 additions & 1 deletion pages/kontakt.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ teaser: "Vil du komme i kontakt med oss? Bruk skjemaet eller send oss en mail."
permalink: "/kontakt/"
---

<form name="contact" method="POST" data-netlify="true">
<form name="contact" method="POST" netlify-honeypot="bot-field" data-netlify="true">
<p class="hidden">
<label>Don’t fill this out if you're human: <input name="bot-field" /></label>
</p>
<p>
<label>Ditt navn: <input type="text" name="navn" /></label>
</p>
Expand Down

0 comments on commit c0b385b

Please sign in to comment.