anhskohbo / no-captcha

No CAPTCHA reCAPTCHA For Laravel.
https://packagist.org/packages/anhskohbo/no-captcha
MIT License
1.78k stars 234 forks source link

Where should I add validation code - 'g-recaptcha-response' => 'required|captcha'? #77

Closed aishabadar closed 7 years ago

aishabadar commented 7 years ago

I am trying to figure out where should I put validation code to rules array?

$validate = Validator::make(Input::all(), [ 'g-recaptcha-response' => 'required|captcha' ]);

Please help me I am newbie to Laravel.

Thank you.

aishabadar commented 7 years ago

Solved it.