By: Michael Lynch <git@mtlynch.io>
Move login redirect decision into LoginTokenCreator Instead of a redirectLoginTokens flag on handlers.Server, the prod LoginTokenCreator now returns an empty Entry after sending the email. The handler redirects only when the token is non-empty, which happens naturally in dev mode (no email sent) and never in prod. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>