嗨,我在我的网站上使用google recaptcha。起初她工作正常,但几天后我收到此错误E RROR for site owner: Invalid site key
,我在帐户google
We detected that your site is not verifying reCAPTCHA solutions. This is required for the proper use of reCAPTCHA on your site. Please see our developer site for more information.
我使用此代码验证Recaptcha响应
$validate = Validator::make(Input::all(), [
'g-recaptcha-response' => 'required|captcha'
]);
答案 0 :(得分:1)
我犯了一个类似的错误,我最终通过取消选中“验证reCAPTCHA解决方案的来源”旁边的框,在Google验证码管理控制台上解决了该问题。