diff --git a/post.php b/post.php index c869de9d..01a4d80c 100644 --- a/post.php +++ b/post.php @@ -401,7 +401,7 @@ if (isset($_POST['delete'])) { error($config['error']['bot']); // Check what reCAPTCHA has to say... - $resp = json_decode(file_get_contents(sprintf('https://www.google.com/recaptcha/api/siteverify?secret=%s&response=%s&remoteip=%s', + $resp = json_decode(file_get_contents(sprintf('https://www.recaptcha.net/recaptcha/api/siteverify?secret=%s&response=%s&remoteip=%s', $config['recaptcha_private'], urlencode($_POST['g-recaptcha-response']), $_SERVER['REMOTE_ADDR'])), true); diff --git a/templates/header.html b/templates/header.html index 7083c70d..129cb2f2 100644 --- a/templates/header.html +++ b/templates/header.html @@ -17,7 +17,7 @@ {% for javascript in config.additional_javascript %}{% endfor %} {% endif %} {% endif %} - {% if config.recaptcha %} + {% if config.recaptcha %}