我试图在php中使用reCaptcha v2.0,在服务器验证中我使用了以下代码:
if(isset($_POST['Direccion_Email']) AND ($_POST['enviar']))/src/ReCaptcha/RequestMethod/Post.php验证在第68行的/home/diego
postInquiry']); public function postContact(Request $request){
$token = $request->input('g-recaptcha-response提交表单后,用户应该被重定向到视图(thankyou.blade.php)视图,但它正在重定向到视图(single.blade.php)而不发送电子邮件,并且不显示任何错误。如果我删除验证部分