Skip to content

Commit

Permalink
Add key setup to v3 example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Boyd committed Jan 15, 2024
1 parent 124496f commit 35fabd9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,14 @@ With v3, you can let all users log in without any intervention at all if their s
threshold, and only show a v2 checkbox recaptcha challenge (fall back to v2) if it is below the
threshold:

This example sets v2 keys through environment variables. For more information on how to set up keys, please refer to the [documentation here](#alternative-api-key-setup).

```bash
# .env
RECAPTCHA_SITE_KEY=6Lc6BAAAAAAAAChqRbQZcn_yyyyyyyyyyyyyyyyy
RECAPTCHA_SECRET_KEY=6Lc6BAAAAAAAAKN3DRm6VA_xxxxxxxxxxxxxxxxx
```

```erb
<% if @show_checkbox_recaptcha %>
Expand Down

0 comments on commit 35fabd9

Please sign in to comment.