Skip to content
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
@fernandoamorim30

Description

@fernandoamorim30

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:

Screenshot 2024-01-01 at 21 59 19

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:

Screenshot 2024-01-01 at 22 07 19

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:

Screenshot 2024-01-01 at 22 09 31

Is a just an suggest!

Environment:

  • Package version: ^6.0

Thanks! 💪🏼👊🏼

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions