Skip to content

fix(auth): manter o envio do código vivo com after() - #40

Merged
vinicius3w merged 1 commit into
developfrom
fix/auth-otp-after
Oct 9, 2026
Merged

vinicius3w merged 1 commit into
developfrom
fix/auth-otp-after

Conversation

@vinicius3w

Copy link
Copy Markdown
Contributor

Em serverless o fetch ao Resend podia ser cortado após a resposta. after() mantém a tarefa viva sem aguardar. Testes do auth passam (22).

O envio do e-mail era fire-and-forget; em serverless a funcao pode congelar apos a resposta
e o fetch ao Resend se perde. after() mantem a tarefa viva sem aguardar (sem timing attack).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VDxbrneS3TEAUmdgVmkKpQ
@vercel

vercel Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
compasso Ready Ready Preview Oct 9, 2026 1:28pm UTC

@vinicius3w
vinicius3w merged commit 2519f87 into develop Oct 9, 2026
3 checks passed

This branch was successfully deployed

1 active deployment
Preview — ae9214db Deployed Oct 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant