Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
ousid committed May 28, 2023
1 parent 7c9e648 commit 96c3293
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ return [
| @see: https://developers.cloudflare.com/turnstile/get-started/#get-a-sitekey-and-secret-key
|
*/
'turnstile_site_key' => env('TRUNSTILE_SITE_KEY', null),
'turnstile_site_key' => env('TURNSTILE_SITE_KEY', null),

'turnstile_secret_key' => env('TRUNSTILE_SECRET_KEY', null),
'turnstile_secret_key' => env('TURNSTILE_SECRET_KEY', null),

/*
|--------------------------------------------------------------------------
Expand Down Expand Up @@ -71,11 +71,11 @@ php artisan vendor:publish --tag="turnstile-views"
## Turnstile Keys
To be able to use __Cloudflare Turnstile__, you need to get the `SiteKey`, and the `SecretKey` from your [Cloudflare dashboard](https://developers.cloudflare.com/turnstile/get-started/#get-a-sitekey-and-secret-key)

After Generating the __keys__, use `TRUNSTILE_SITE_KEY`, and `TRUNSTILE_SECRET_KEY` in your `.env` file
After Generating the __keys__, use `TURNSTILE_SITE_KEY`, and `TURNSTILE_SECRET_KEY` in your `.env` file

```.env
TRUNSTILE_SITE_KEY=2x00000000000000000000AB
TRUNSTILE_SECRET_KEY=2x0000000000000000000000000000000AA
TURNSTILE_SITE_KEY=2x00000000000000000000AB
TURNSTILE_SECRET_KEY=2x0000000000000000000000000000000AA
```

If you want to test the widget, you can use the [Dummy site keys and secret keys](https://developers.cloudflare.com/turnstile/reference/testing/) that Cloudflare provides.
Expand Down
4 changes: 2 additions & 2 deletions config/turnstile.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
| @see: https://developers.cloudflare.com/turnstile/get-started/#get-a-sitekey-and-secret-key
|
*/
'turnstile_site_key' => env('TRUNSTILE_SITE_KEY', null),
'turnstile_site_key' => env('TURNSTILE_SITE_KEY', null),

'turnstile_secret_key' => env('TRUNSTILE_SECRET_KEY', null),
'turnstile_secret_key' => env('TURNSTILE_SECRET_KEY', null),

/*
|--------------------------------------------------------------------------
Expand Down

0 comments on commit 96c3293

Please sign in to comment.