This repository was archived by the owner on Jun 10, 2024. It is now read-only.
This repository was archived by the owner on Jun 10, 2024. It is now read-only.
ReCaptcha V3 not getting language params from recaptcha.php #92
Open
Description
Hi
When i put {!! htmlScriptTagJsApi(config('recaptcha')) !!}
in blade file, the js call to recaptcha api.js not set language param configured previusly in recaptcha.php, in config folder:

The result return the default file recaptcha__en.js
Loking in vendor files, in ReCaptchaBuilderV3.php file, i'm not found a language param configured on call api.js:

To resolve this problem, i suggest create an $lang variable before the api.js call getting param 'default_language' from recaptcha.php config file. Something like this:

Is a just an suggest!
Environment:
- Package version: ^6.0
Thanks! 💪🏼👊🏼
Metadata
Metadata
Assignees
Labels
No labels