Closed rwnet closed 6 years ago
For the latest release, use the new Rule
class instead of 'captcha'
rule for validation:
use Arcanedev\NoCaptcha\Rules\CaptchaRule;
$validator = Validator::make(request()->all(), [
// Other validation rules...
'g-recaptcha-response' => ['required', new CaptchaRule],
]);
Thank you. Now everything has worked for me!
Hello.
Installed everything according to the documentation, but there is an error "Method [validateCaptcha] does not exist" after submitting form. I'm trying to use recaptcha on Laravel default generated login form.
Couldn't figure out yet what goes wrong exactly...
Tried to manually describe service providers and alias - nothing changed.