back and forth on config - if should come from configure or from component config - stupid lol unit testing different tokens for turnstile lends to keeping that out of component config
CI / testsuite (mysql, 8.2, ) (push) Successful in 3m6s
CI / testsuite (mysql, 8.4, ) (push) Successful in 4m20s
CI / testsuite (pgsql, 8.2, ) (push) Successful in 3m10s
CI / testsuite (pgsql, 8.4, ) (push) Successful in 4m21s
CI / testsuite (sqlite, 8.2, ) (push) Successful in 3m7s
CI / testsuite (sqlite, 8.2, prefer-lowest) (push) Successful in 3m4s
CI / testsuite (sqlite, 8.4, ) (push) Successful in 4m38s
CI / Coding Standard & Static Analysis (push) Successful in 2m20s

This commit is contained in:
bs
2026-11-14 18:38:09 -08:00
parent 32afb9ce64
commit 35fab648f7
5 changed files with 37 additions and 28 deletions
+4
View File
@@ -65,6 +65,9 @@ Configure::write('ContactUs', [
'email' => true,
'turnstile' => false,
],
'model' => 'CakeContactUs.ContactUsFormSubmissions',
'addIdToRedirect' => false,
'redirectUrl' => '/',
'email' => [
'mailerClass' => 'CakeContactUs.ContactUsFormSubmissions',
'confirmation' => false, // true or false
@@ -73,6 +76,7 @@ Configure::write('ContactUs', [
'to' => 'test@example.com',
],
],
// 'turnstile' => [
// 'siteKey' => '1x00000000000000000000AA',
// 'secretKey' => '1x0000000000000000000000000000000AA',