trails/apps/journal/app
Ullrich Schäfer 3bcb1fce7c
Add 6-digit login code for mobile authentication
Magic links open in the device browser, not the OAuth in-app browser,
so the session doesn't carry over. A login code lets mobile users
type a 6-digit code from their email into the login page instead.

- Generate 6-digit numeric code alongside magic link token
- Store code in magic_tokens table
- Add verify-code step to login API endpoint
- Show code input UI after magic link is sent
- Include code in email template
- i18n keys for code UI (en + de)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 20:56:42 +02:00
..
components Reduce map fly animation to 200ms 2026-04-11 00:48:41 +02:00
lib Add 6-digit login code for mobile authentication 2026-04-15 20:56:42 +02:00
routes Add 6-digit login code for mobile authentication 2026-04-15 20:56:42 +02:00
entry.client.tsx Upgrade i18next v26 + react-i18next v17 with SSR-safe init 2026-03-29 11:38:36 +02:00
entry.server.tsx Upgrade i18next v26 + react-i18next v17 with SSR-safe init 2026-03-29 11:38:36 +02:00
root.tsx Pass full locale from Accept-Language to ClientDate 2026-03-29 11:46:21 +02:00
routes.ts Implement Journal REST API v1 endpoints 2026-04-13 00:57:27 +02:00