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 -3
View File
@@ -4,10 +4,10 @@
return [
'ContactUs' => [
'fields' => [
'subject' => true,
'subject' => false,
'email' => true,
'captcha' => true,
'turnstile' => true,
'captcha' => false,
'turnstile' => false,
],
'clientIpHeader' => null,
'email' => [
@@ -20,6 +20,7 @@ return [
'bcc' => '', // email string or array of emails
],
],
'model' => 'CakeContactUs.ContactUsFormSubmissions',
'addIdToRedirect' => true,
'redirectUrl' => [
'prefix' => 'Admin',