feat(auth): log fallback tokens when email delivery fails

Introduce EMAIL_FALLBACK_LOG_TOKENS to output verification and reset links to backend logs.
Remove strict email quota assertions to allow auth flows to proceed in fallback mode.
This commit is contained in:
2026-05-11 14:14:36 +08:00
parent 42319695e9
commit b99ea1fad9
3 changed files with 60 additions and 5 deletions

View File

@@ -16,6 +16,7 @@ RESEND_DAILY_QUOTA_LIMIT=100
RESEND_MONTHLY_QUOTA_LIMIT=3000
RESEND_QUOTA_RESERVE=5
RESEND_QUOTA_SNAPSHOT_TTL_MINUTES=10
EMAIL_FALLBACK_LOG_TOKENS=false
AI_MODERATION_API_KEY=
# Local Docker debug defaults: