Skip to content

Commit

Permalink
Added more debug output for NoCAPTCHA method
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesegrits committed Jan 20, 2016
1 parent 9931a01 commit dc820fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions plugins/fabrik_element/captcha/captcha.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,11 @@ public function validate($data, $repeatCounter = 0)
}
}

if (FabrikHelperHTML::isDebug())
{
$this->app->enqueueMessage("No g-recaptcha-response!");
}

return false;
}
elseif ($params->get('captcha-method') == 'playthru')
Expand Down

0 comments on commit dc820fb

Please sign in to comment.