Closed joaquingares closed 9 years ago
In my test, everything look good.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Captcha</title>
</head>
<body>
{{ Form::open() }}
{{ Form::captcha() }}
{{ Form::submit() }}
{{ Form::close() }}
</body>
</html>
Route::post('captcha', function()
{
$validate = Validator::make(Input::all(), array(
'g-recaptcha-response' => 'required|captcha'
));
var_dump($validate->passes());
});
I don't use curl anymore https://github.com/anhskohbo/no-captcha/commit/e2954102c5cad3c96dd111545e9f820eaa9d0244
In laravel 4.2 the double rule required|captcha only funcion with required. captcha always return false although the green tic and everything seem to be perfect. googje for that rule always return false. I spend a lot of time without any answer.