The join form on /join used to create the affiliate row and send the welcome email before the magic link verified the inbox. That let anyone sign up an arbitrary email address as an affiliate, creating a row in the database and firing an unsolicited welcome email to that person. Now the affiliate row, code generation, payout inheritance, and welcome email all happen in the verify route - only after the magic link is consumed, meaning the inbox owner actually confirmed.
Also shipped in this batch:
- Click endpoint no longer reports
ok: true for invalid or inactive referral codes.
- Webhook secrets can now be cleared from settings (a "Clear secret" checkbox next to each field).
- Tenant root page, going to
/yourslug now redirects to /yourslug/join instead of 404'ing.
- Missing
rel="noopener noreferrer" on the footer badge link fixed.
fix - The join form on your program's /join page used to sign the browser straight into the affiliate dashboard for whatever email was typed in. Since the form is public, that meant someone who knew an affiliate's email address could open their dashboard - and worse, their payout settings - without ever touching their inbox. That's closed: joining or signing in now always goes through the same magic-link email verification as the rest of Sled, so only the inbox owner gets in. Two smaller hardenings shipped alongside it: sign-in links now genuinely expire after 15 minutes (unused links used to stay valid), and the join form quietly drops bot submissions, backed by the same rate limits as sign-in. For real affiliates the only visible change is a "check your email" step on first join.