LoVisual/backend/accounts-service/migrations
loki5512344 c57f851a8b
feat(accounts): outgoing mail over SMTP (Resend), email verification, fail-closed password reset
- mail/ module (lettre, ru/en templates), links built only from PUBLIC_BASE_URL
- migration 0006: accounts.email_verified_at, shared email_tokens table (verify + reset), existing accounts marked verified
- reset mailer no longer logs tokens; RESET_MAIL_MODE=log is dev-only and refused with COOKIE_SECURE=true; Disabled by default answers 503
- forgot-password and resend-verification do their work in a background task (no timing oracle)
- device linking requires a verified email; email_verified exposed via /me and gRPC
- gateway rate limits, SMTP_* in compose and .env.example
- frontend: verify, forgot-password, reset-password pages, verify banner, ru/en strings
2026-10-09 21:08:33 +02:00
..
0001_init.sql chore(history): squash 100 commit(s) from 2026-09-24 2026-09-24 23:52:12 +02:00
0002_refresh_tokens.sql chore(history): squash 100 commit(s) from 2026-09-24 2026-09-24 23:52:12 +02:00
0003_device_links_token_unique.sql chore(history): squash 67 commit(s) from 2026-09-25 2026-09-25 20:22:13 +02:00
0004_refresh_rotated_at.sql chore(history): squash 67 commit(s) from 2026-09-25 2026-09-25 20:22:13 +02:00
0005_password_reset_tokens.sql fix: CI workflow, password reset flow, health/limits in services, session refactor, dead mixin stub cleanup 2026-10-09 19:21:17 +02:00
0006_email_tokens.sql feat(accounts): outgoing mail over SMTP (Resend), email verification, fail-closed password reset 2026-10-09 21:08:33 +02:00