trails/apps/journal/app
Ullrich Schäfer a766bffad5
Add purpose column to magic_tokens, fix email change race condition
- Add `purpose` column (default: 'login') to distinguish login tokens
  from email-change tokens
- verifyMagicToken only matches purpose='login'
- verifyEmailChange only matches purpose='email-change'
- Re-check email availability at verification time, not just initiation
  — prevents race where someone registers with the new email between
  request and verification

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-29 10:28:53 +02:00
..
components Fix SSR hydration mismatch for dates 2026-03-24 20:22:58 +00:00
lib Add purpose column to magic_tokens, fix email change race condition 2026-03-29 10:28:53 +02:00
routes Fix i18n: use common:key namespace syntax for cross-namespace keys 2026-03-29 10:19:11 +02:00
entry.client.tsx Disable Sentry session replays 2026-03-27 20:52:10 +01:00
entry.server.tsx Filter 404s from Sentry on client and server 2026-03-25 08:02:26 +00:00
root.tsx Add account settings page with passkey management 2026-03-29 10:09:06 +02:00
routes.ts Add account settings page with passkey management 2026-03-29 10:09:06 +02:00