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

View File

@@ -170,6 +170,7 @@ return [
// App\Providers\BroadcastServiceProvider::class,
App\Providers\EventServiceProvider::class,
App\Providers\RouteServiceProvider::class,
Scyllaly\HCaptcha\HCaptchaServiceProvider::class,
])->toArray(),
/*
@@ -184,6 +185,7 @@ return [
*/
'aliases' => Facade::defaultAliases()->merge([
'HCaptcha' => Scyllaly\HCaptcha\Facades\HCaptcha::class,
// 'Example' => App\Facades\Example::class,
])->toArray(),