[ 'fields' => [ 'subject' => true, 'email' => true, 'captcha' => true, ], 'clientIpHeader' => null, 'email' => [ 'mailerClass' => 'CakeContactUs.ContactUsFormSubmissions', 'confirmation' => true, // true or false 'backend' => [ // array with enabled and the to/cc/bcc/ fields as strings or arrays 'enabled' => true, 'to' => 'contact@hipowered.dev', 'cc' => '', // email string or array of emails 'bcc' => '', // email string or array of emails ], ], 'addIdToRedirect' => true, 'redirectUrl' => [ 'prefix' => 'Admin', 'plugin' => 'CakeContactUs', 'controller' => 'ContactUsFormSubmissions', 'action' => 'view', ], /** * @link https://developers.cloudflare.com/turnstile/troubleshooting/testing/ * * secretKeys for testing: * always passes = 1x0000000000000000000000000000000AA * always fails = 2x0000000000000000000000000000000AA * token already spent error 3x0000000000000000000000000000000AA */ '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 ], ], ];