Closed hamid80386 closed 10 months ago
I used of this rule to validate recaptcha:
$validate = Validator::make($request->all(), [ 'g-recaptcha-response' => 'required|captcha', 'name' => 'required', ]);
But this way always return fail, even when i checked recaptcha
if ($validate->fails()) { var_dump($vlidate); dd('fails'); }
When i checked passes() method is true and when i don't check, passes() return false, but in both sitiuation fails() method is true
please share your environment
I used of this rule to validate recaptcha:
But this way always return fail, even when i checked recaptcha
When i checked passes() method is true and when i don't check, passes() return false, but in both sitiuation fails() method is true