Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[Recaptcha] switched api URL to google domain for client side part

fixes #213
  • Loading branch information...
commit 2b9f4e2ca9c416c405cf4a11db48e357c4ab0b28 1 parent aa94dbe
@bamarni bamarni authored
View
2  Resources/views/Form/div_layout.html.twig
@@ -9,7 +9,7 @@
{% spaceless %}
<div id="{{ id }}_div" style="display: none;"></div>
<noscript>
- <iframe src="{{ server }}/noscript?k={{ public_key }}" width="500" height="300" frameborder="0"></iframe>
+ <iframe src="http://www.google.com/recaptcha/api/noscript?k={{ public_key }}" width="500" height="300" frameborder="0"></iframe>
<br />
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
<input type="hidden" name="recaptcha_response_field" value="manual_challenge" />
View
2  Resources/views/Form/jquery_layout.html.twig
@@ -30,7 +30,7 @@
{% block genemu_recaptcha_javascript %}
{% spaceless %}
- <script type="text/javascript" src="{{ asset(server ~ "/js/recaptcha_ajax.js") }}"></script>
+ <script type="text/javascript" src="{{ asset("https://www.google.com/recaptcha/api/js/recaptcha_ajax.js") }}"></script>
<script type="text/javascript">
window.addEventListener(
'load',
Please sign in to comment.
Something went wrong with that request. Please try again.