Closed russ-sdg closed 3 years ago
You should add {!! GoogleReCaptchaV3::init() !!}
into layout template, app.blade.php to the bottom.
https://github.com/RyanDaDeng/laravel-google-recaptcha-v3#add-google-api-script
That did it. Thank you!
better to check this sample code: https://github.com/RyanDaDeng/laravel-google-recaptcha-v3/wiki/Simple-Demo
I'm guessing this is user error as I'm relatively new to Laravel. I am trying to use Recaptcha v3 on the standard registration form that comes with Laravel.
In the config file I have: 'setting' => [ [ 'action' => 'login', 'threshold' => 0.5, 'inline' => true, 'score_comparision' => false, ], [ 'action' => 'registration', 'threshold' => 0.5, 'inline' => true, 'score_comparison' => false, ], ],
In the blade I have all the normal fields plus: