Skip to content
This repository has been archived by the owner on Jun 25, 2021. It is now read-only.

Commit

Permalink
remove old verify path
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas committed Jun 26, 2020
1 parent f7708fc commit b7719da
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/code/community/ProxiBlue/ReCaptcha/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class ProxiBlue_ReCaptcha_Helper_Data extends Mage_Captcha_Helper_Data {
const RECAPTCHA_API_SERVER = "https://www.google.com";
const RECAPTCHA_API_PATH = "/recaptcha/api";
const RECAPTCHA_VERIFY_SERVER = "www.google.com";
const RECAPTCHA_VERIFY_PATH = "verify";
const RECAPTCHA_SITEVERIFY_PATH = "siteverify";


Expand Down
2 changes: 1 addition & 1 deletion app/code/community/ProxiBlue/ReCaptcha/Model/Recaptcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function isCorrect($word)
'challenge' => $request->getParam('recaptcha_challenge_field'),
'response' => $request->getParam('recaptcha_response_field'),
);
$path = ProxiBlue_ReCaptcha_Helper_Data::RECAPTCHA_VERIFY_PATH;
$path = ProxiBlue_ReCaptcha_Helper_Data::RECAPTCHA_SITEVERIFY_PATH;
$this->_debug("sending to " . $path . " params of " . print_r($params, true));
$result = $this->_sendRequest($path, $params);
$this->_debug("result is : " . $result);
Expand Down
2 changes: 1 addition & 1 deletion app/code/community/ProxiBlue/ReCaptcha/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<config>
<modules>
<ProxiBlue_ReCaptcha>
<version>2.3.2</version>
<version>2.3.3</version>
<depends>
<Mage_Captcha/>
</depends>
Expand Down

0 comments on commit b7719da

Please sign in to comment.