Permalink
Browse files

updated to remove error trigger that would happen when javascript was…

… off and things were not filled out properly
  • Loading branch information...
1 parent ab9eebb commit e46d50884ccd74b9709f3db15154a05eeb6f4d71 @natepixel natepixel committed with natepixel May 29, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 disco/plasmature/types/recaptcha.php
View
5 disco/plasmature/types/recaptcha.php
@@ -71,8 +71,9 @@ function grab_value()
}
elseif ($resp->error == 'invalid-request-cookie')
{
- trigger_error ("Recaptcha challenge parameter was not correctly passed - make sure reCAPTCHA is properly configured.");
- $this->set_error("The reCAPTCHA could not be verified. Please try again again later.");
+ // lets remove this trigger since this can happens often with the non-javascript version.
+ //trigger_error ("Recaptcha challenge parameter was not correctly passed - make sure reCAPTCHA is properly configured.");
+ $this->set_error("The reCAPTCHA wasn't entered correctly. Please try again.");
}
elseif ($resp->error == 'incorrect-captcha-sol')
{

0 comments on commit e46d508

Please sign in to comment.