【发布时间】:2018-07-14 13:57:57
【问题描述】:
大家好,我在我的网站中使用谷歌 recaptcha。起初她工作正常,但几天后我收到此错误 ERROR 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'
]);
【问题讨论】:
-
如其所说,您可能需要重新生成 api 密钥或再次验证站点