feat(contact): Add hCaptcha integration, Discord alert for contact

- Added hCaptcha validation to the contact form.
- Integrated hCaptcha configuration in the application.
- Implemented Discord alerts for new contact submissions with detailed content.
This commit is contained in:
Rico van Zelst
2024-02-24 21:52:00 +01:00
parent 1ed7856985
commit 8bdcd5b086
6 changed files with 131 additions and 38 deletions

10
config/HCaptcha.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
return [
'secret' => env('HCAPTCHA_SECRET'),
'sitekey' => env('HCAPTCHA_SITEKEY'),
'server-get-config' => false,
'options' => [
'timeout' => 30,
],
];