cms.c2sgmbh/src
Martin Porwoll 411f1a040e fix: newsletter double opt-in bug fixes
- Fix rate limiter: await formLimiter.check() (was missing await)
- Prevent duplicate confirmation emails: add context.skipNewsletterEmail flag
  - Service sets flag when creating/updating subscribers via API
  - Hook skips email sending when flag is present
  - Admin panel creations still trigger the hook
- Fix unsubscribe links: use subscriber ID instead of token for welcome/unsubscribe emails
  - Token is nullified after confirmation, making old links invalid
  - ID-based lookups always work

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 20:17:28 +00:00
..
app fix: newsletter double opt-in bug fixes 2025-12-10 20:17:28 +00:00
blocks feat: add Services collection and block 2025-12-10 07:39:03 +00:00
collections feat: add Newsletter Double Opt-In email system 2025-12-10 16:37:16 +00:00
components/admin feat: BullMQ queue system for email and PDF processing 2025-12-09 22:59:17 +00:00
globals feat: add content blocks and global settings 2025-12-01 08:19:15 +00:00
hooks fix: newsletter double opt-in bug fixes 2025-12-10 20:17:28 +00:00
jobs chore: add jobs, backups, and migration history 2025-12-01 08:24:26 +00:00
lib fix: newsletter double opt-in bug fixes 2025-12-10 20:17:28 +00:00
migrations feat: enhance FormSubmissions with workflow and tracking 2025-12-10 09:13:06 +00:00
migrations_backup chore: add jobs, backups, and migration history 2025-12-01 08:24:26 +00:00
instrumentation.ts feat: add i18n, SEO, and frontend infrastructure 2025-12-01 08:19:35 +00:00
middleware.ts feat: add i18n, SEO, and frontend infrastructure 2025-12-01 08:19:35 +00:00
payload-generated-schema.ts chore: update core configuration and dependencies 2025-12-01 08:18:41 +00:00
payload-types.ts docs: consolidate and update documentation 2025-12-09 09:25:00 +00:00
payload.config.ts feat: add OpenAPI documentation with Swagger UI 2025-12-10 15:14:13 +00:00