From 08d61d8bd8bfd2e496e6cca887b5aef6b44ab6aa Mon Sep 17 00:00:00 2001 From: Marc Giraud-Telme Date: Mon, 21 Jan 2019 11:52:54 +0100 Subject: [PATCH] Fix debug --- src/Extension/ReCaptcha/RequestMethod/Post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Extension/ReCaptcha/RequestMethod/Post.php b/src/Extension/ReCaptcha/RequestMethod/Post.php index f8a9613..09dc936 100644 --- a/src/Extension/ReCaptcha/RequestMethod/Post.php +++ b/src/Extension/ReCaptcha/RequestMethod/Post.php @@ -31,7 +31,7 @@ class Post implements RequestMethod */ public function __construct($recaptchaVerifyServer, $timeout) { - $this->recaptchaVerifyUrl ='https://www.google.com:81/recaptcha/api/siteverify'; + $this->recaptchaVerifyUrl = ($recaptchaVerifyServer ?: 'https://www.google.com').'/recaptcha/api/siteverify'; $this->timeout = $timeout; }