split config for turnstile + turnstile helper updates
CI / testsuite (mysql, 8.2, ) (push) Successful in 3m22s
CI / testsuite (mysql, 8.4, ) (push) Successful in 4m35s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 3m9s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 4m13s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 3m5s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 3m5s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 4m14s
CI / Coding Standard & Static Analysis (push) Successful in 2m21s
CI / testsuite (mysql, 8.2, ) (push) Successful in 3m22s
CI / testsuite (mysql, 8.4, ) (push) Successful in 4m35s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 3m9s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 4m13s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 3m5s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 3m5s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 4m14s
CI / Coding Standard & Static Analysis (push) Successful in 2m21s
This commit is contained in:
+7
-11
@@ -7,6 +7,7 @@ return [
|
||||
'subject' => true,
|
||||
'email' => true,
|
||||
'captcha' => true,
|
||||
'turnstile' => true,
|
||||
],
|
||||
'clientIpHeader' => null,
|
||||
'email' => [
|
||||
@@ -26,18 +27,13 @@ return [
|
||||
'controller' => 'ContactUsFormSubmissions',
|
||||
'action' => 'view',
|
||||
],
|
||||
],
|
||||
'Turnstile' => [
|
||||
'enabled' => true,
|
||||
/**
|
||||
* @link https://developers.cloudflare.com/turnstile/troubleshooting/testing/
|
||||
*
|
||||
* secretKeys for testing:
|
||||
* always passes = 1x0000000000000000000000000000000AA
|
||||
* always fails = 2x0000000000000000000000000000000AA
|
||||
* token already spent error 3x0000000000000000000000000000000AA
|
||||
* @link https://developers.cloudflare.com/turnstile/troubleshooting/testing/ for testing keys
|
||||
*/
|
||||
'turnstile' => [
|
||||
'enabled' => true,
|
||||
'siteKey' => '{SITE_KEY_GOES_HERE}', // define in app_local or an .env variable - CLOUDFLARE_TURNSTILE_SITE_KEY
|
||||
'secretKey' => '{SECRET_GOES_HERE}', // define in app_local or an .env variable - CLOUDFLARE_TURNSTILE_SECRET_KEY
|
||||
],
|
||||
'siteKey' => '{SITE_KEY_GOES_HERE}', // define in app_local or an .env variable - CLOUDFLARE_TURNSTILE_SITE_KEY
|
||||
'secretKey' => '{SECRET_GOES_HERE}', // define in app_local or an .env variable - CLOUDFLARE_TURNSTILE_SECRET_KEY
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user