Add Terms and Conditions and marketing opt-in checkboxes to registration

Registration now requires agreeing to the Terms and Conditions and lets
users opt in to hear about future projects. The opt-in is persisted on
the user via a new marketing_opt_in column (migration included).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Frank
2026-07-04 20:28:52 +02:00
co-authored by Claude Sonnet 5
parent 703d2af3d8
commit ec34a1ddb9
4 changed files with 56 additions and 0 deletions
@@ -9,6 +9,8 @@
{{ form_row(registrationForm.email) }}
{{ form_row(registrationForm.username) }}
{{ form_row(registrationForm.plainPassword) }}
{{ form_row(registrationForm.agreeTerms) }}
{{ form_row(registrationForm.marketingOptIn) }}
{{ form_row(registrationForm.captcha) }}
<div class="d-grid mt-3">