By: Michael Lynch <git@mtlynch.io>
Remove IsMagicLoginTokenValid and its TOCTOU check in loginConfirmGet The GET handler validated the token before rendering the confirmation page, but the POST handler re-validated atomically on submit. Between the two requests the token could expire or be consumed, making the GET check advisory at best. Removing it eliminates a store method and the TOCTOU window. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>