Laravel 拉威尔5.2格雷吉尔伯特/雷帕查:请确保你是人类
我在我的laravel 5.2项目中使用了greggilbert/recaptcha。虽然表单数据有效,但在提交表单后,我始终会收到错误消息:请确保您是人 我试了很多,但没有找到任何解决办法。有人帮我吗?请 我使用了以下代码: 形式如下:Laravel 拉威尔5.2格雷吉尔伯特/雷帕查:请确保你是人类,laravel,recaptcha,Laravel,Recaptcha,我在我的laravel 5.2项目中使用了greggilbert/recaptcha。虽然表单数据有效,但在提交表单后,我始终会收到错误消息:请确保您是人 我试了很多,但没有找到任何解决办法。有人帮我吗?请 我使用了以下代码: 形式如下: <div class="form-group"> <div class="input-group"> {!! Recaptcha::render() !!}
<div class="form-group">
<div class="input-group">
{!! Recaptcha::render() !!}
</div>
</div>
在config/recaptcha.php中
'public_key' => env('RECAPTCHA_PUBLIC_KEY', '6LfjMiETAA_Rest of the key Hidden'),
'private_key' => env('RECAPTCHA_PRIVATE_KEY', '6LfjMi_Rest of the key Hidden'),
解决的问题:
更换后
“卷曲超时”=>1,
到
“卷曲超时”=>10,
在config/recaptcha.php上,请更改config/recaptcha.php
'public_key' => env('RECAPTCHA_PUBLIC_KEY', '6LfjMiETAA_Rest of the key Hidden'),
'private_key' => env('RECAPTCHA_PRIVATE_KEY', '6LfjMi_Rest of the key Hidden'),
在recaptcha.php文件中设置以下选项
'options' => [
'curl_timeout' => 10,
'curl_verify' => false,
],
@我在上面添加了一些代码。
'options' => [
'curl_timeout' => 10,
'curl_verify' => false,
],