photobooth funktionen im event admin verlinkt, gäste pwa zeigt photobooth nur noch an, wenn diese aktiviert ist. kontaktformular optimiert. teilen-link mit iMessage und whatsapp erweitert.
This commit is contained in:
@@ -176,6 +176,15 @@ class AppServiceProvider extends ServiceProvider
|
||||
return Limit::perMinute(10)->by('coupon-preview:'.$identifier);
|
||||
});
|
||||
|
||||
RateLimiter::for('contact-form', function (Request $request) {
|
||||
$ip = $request->ip() ?? 'unknown';
|
||||
|
||||
return [
|
||||
Limit::perMinute(5)->by('contact:ip:'.$ip),
|
||||
Limit::perHour(30)->by('contact:hour:'.$ip),
|
||||
];
|
||||
});
|
||||
|
||||
Inertia::share('locale', fn () => app()->getLocale());
|
||||
Inertia::share('analytics', static function () {
|
||||
$config = config('services.matomo');
|
||||
|
||||
Reference in New Issue
Block a user