fix(public): do not expose coupon code after preregistration

Codes are still created and stored for Mailwizz; JSON response omits
coupon_code. Thank-you UI explains email delivery instead of showing code.

Made-with: Cursor
This commit is contained in:
2026-04-05 11:22:38 +02:00
parent 217e1d9afb
commit 9f8052f683
4 changed files with 3 additions and 42 deletions

View File

@@ -71,7 +71,6 @@
'redirectUrl' => filled($redirectAfterSubmit) ? $redirectAfterSubmit : null,
'strings' => [
'linkCopied' => __('Link gekopieerd!'),
'couponCopied' => __('Kortingscode gekopieerd!'),
'redirectCountdown' => __('You will be redirected in :seconds s…'),
],
]))"