diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-01-20 02:37:53 +1100 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-01-20 02:37:53 +1100 |
| commit | cd30f3b0b90a79930aa39f8d68da5cc247dfadc3 (patch) | |
| tree | 95d2b5b1111a189d28a633fcaedf5f756a716160 /templates | |
| parent | 368050852a56e4ae646097d64defcd092f144f51 (diff) | |
prohibit using same anti-bot hashes across different boards/threads
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/post_form.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/post_form.html b/templates/post_form.html index d60039ba..d4dca20c 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -1,5 +1,5 @@ <form name="post" onsubmit="return dopost(this);" enctype="multipart/form-data" action="{{ config.post_url }}" method="post"> -{{ hidden_inputs }} +{{ createHiddenInputs([board.uri, id]) }} {% if id %}<input type="hidden" name="thread" value="{{ id }}" />{% endif %} <input type="hidden" name="board" value="{{ board.uri }}" /> {% if mod %}<input type="hidden" name="mod" value="1" />{% endif %} |
