summaryrefslogtreecommitdiff
path: root/templates/post_form.html
diff options
context:
space:
mode:
authorBenjamin Southall <applemansigloo@gmail.com>2019-08-10 20:54:52 +1000
committerBenjamin Southall <applemansigloo@gmail.com>2019-08-10 20:54:52 +1000
commit33b60b860c4cb8655047ee11eda49fc92db1b348 (patch)
tree5a43713e1f598cf0159c8f25926966d79f2e5391 /templates/post_form.html
parent2404e6074c35a527d4792637a427526b9565b71e (diff)
Fixes You look like a bot (reCaptcha window doesn't appear) #159, straight implementation of upstream https://github.com/vichan-devel/vichan/pull/241, the template changes which the previous commit forgot
Diffstat (limited to 'templates/post_form.html')
-rw-r--r--templates/post_form.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/post_form.html b/templates/post_form.html
index fea61bbb..f9291f49 100644
--- a/templates/post_form.html
+++ b/templates/post_form.html
@@ -91,7 +91,7 @@
{{ antibot.html() }}
</th>
<td>
- <script type="text/javascript" src="//www.google.com/recaptcha/api/challenge?k={{ config.recaptcha_public }}"></script>
+ <div class="g-recaptcha" data-sitekey="{{ config.recaptcha_public }}"></div>
{{ antibot.html() }}
</td>
</tr>