Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGhostHunter committed Nov 24, 2019
2 parents 0be13b9 + 21599e6 commit 6e415ad
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ Just add the `data-recaptcha="true"` attribute to the forms where you want to ha
</form>
```

The Google reCAPTCHA script from Google will be automatically injected on all responses for better analytics.
The Google reCAPTCHA script from Google will be automatically injected on all responses for better analytics.

> Check the `manual` mode if you want control on how to deal with the frontend reCAPTCHA script.
> Alternatively, you may want to use the [`manual` mode](#manual) if you want control on how to deal with the frontend reCAPTCHA script.
### Backend

Expand Down Expand Up @@ -413,6 +413,16 @@ This blade views requires the Google reCAPTCHA v3 script, and detects the forms

There you can edit how the script is downloaded from Google, and how it checks for forms to link with the backend.

### AJAX Requests

Depending of your application, AJAX Requests won't include the reCAPTCHA token. This may be for various reasons:

* Using virtual DOM frameworks like Vue and React.
* Creating a form after the page loaded with JavaScript.
* An AJAX Requests being done entirely in JavaScript.

In any of these scenarios, you may want disable the injection script and [use the reCAPATCHA v3 scripts directly](https://developers.google.com/recaptcha/docs/v3).

## License

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

0 comments on commit 6e415ad

Please sign in to comment.