anhskohbo / no-captcha

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

how to use this package with laravel fortify #175

Open sxshateri opened 2 years ago

sxshateri commented 2 years ago

is there documentation or a guide on how to use this package with Laravel fortify?

0proboy0 commented 2 years ago

just follow the instructions in the readme, for the Validation:

  1. go to app\actions\fortify\createNewUser.php
  2. add 'g-recaptcha-response' => 'required|captcha' to Validator::make