From 96c3293037b0fd4a326a5a7b9e40be9911c0385f Mon Sep 17 00:00:00 2001 From: ousid Date: Sun, 28 May 2023 20:27:30 +0100 Subject: [PATCH] wording --- README.md | 10 +++++----- config/turnstile.php | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b799af4..a483696 100644 --- a/README.md +++ b/README.md @@ -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), /* |-------------------------------------------------------------------------- @@ -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. diff --git a/config/turnstile.php b/config/turnstile.php index 685bdc3..1a1c816 100644 --- a/config/turnstile.php +++ b/config/turnstile.php @@ -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), /* |--------------------------------------------------------------------------