E-Mail-Praeferenzen: Opt-out je Mail-Typ + One-Click-Unsubscribe ohne Login
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
484e062264
commit
d5b806443e
21 changed files with 746 additions and 9 deletions
|
|
@ -59,6 +59,13 @@ return Application::configure(basePath: dirname(__DIR__))
|
|||
RejectLegacyApiKeys::class,
|
||||
]);
|
||||
|
||||
// One-Click-Unsubscribe (RFC 8058): Mail-Clients POSTen ohne Session/
|
||||
// CSRF-Token auf die signierte Abmelde-URL — die Signatur ersetzt den
|
||||
// CSRF-Schutz.
|
||||
$middleware->validateCsrfTokens(except: [
|
||||
'e-mail-benachrichtigungen/abmelden/*',
|
||||
]);
|
||||
|
||||
$middleware->alias([
|
||||
'abilities' => CheckAbilities::class,
|
||||
'ability' => CheckForAnyAbility::class,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue