mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-31 04:13:49 +01:00
Updated reCAPTCHA v2 to use api.js method
This commit is contained in:
parent
78fb0a25a4
commit
7a43a3ea34
@ -17,7 +17,8 @@
|
|||||||
{% for javascript in config.additional_javascript %}<script type="text/javascript" src="{{ config.additional_javascript_url }}{{ javascript }}"></script>{% endfor %}
|
{% for javascript in config.additional_javascript %}<script type="text/javascript" src="{{ config.additional_javascript_url }}{{ javascript }}"></script>{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if config.recaptcha %}<style type="text/css">{% raw %}
|
{% if config.recaptcha %}<script src="//www.google.com/recaptcha/api.js"></script>
|
||||||
|
<style type="text/css">{% raw %}
|
||||||
#recaptcha_area {
|
#recaptcha_area {
|
||||||
float: none !important;
|
float: none !important;
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
|
@ -74,7 +74,7 @@
|
|||||||
{{ antibot.html() }}
|
{{ antibot.html() }}
|
||||||
</th>
|
</th>
|
||||||
<td>
|
<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() }}
|
{{ antibot.html() }}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user