Closed Nuranto closed 5 years ago
The $defer
in RecaptchaV3ServiceProvider
is most likely the problem. Setting it to false
should solve it. I will push an update later.
Oh, indeed :)
Just made a test, and it works fine with $defer = false
!
Thanks
Hi! If someone has the same error, I have manually added the providoer to config/app.php
Bye
Here is an error I get when submitting a form
After some debugging, it seems the
extend('recaptchav3'
of the provider is not called before the validation.The only solution was to move the
extend
code to myAppServiceProvider::boot
...Note that I add the provider to my
config/app.php
:and that I ran a
config:clear
and acache:clear
. If I add adie
in the RecaptchaV3ServiceProvider, it got executed when I load a page, but not when I post a form (the error above occurs before it can).I'm new to laravel, so it's probably a mistake of mine, right ?