dev #51
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
better-auth's signUp.email returns { error } instead of throwing (same as login.tsx), so the old try/catch never caught auth failures: a failed signup still showed "Hesap oluşturuldu!", fired user_signed_up / CompleteRegistration, and redirected to the dashboard. Now we check the returned error, distinguish "e-posta zaten kayıtlı" (via /users/check-email) from other failures (showing the actual reason, e.g. weak password), keep the user on the form, and only fire success analytics on real success. Network failures get a distinct "Bağlantı hatası" toast. Also: CTA "Kayıt Ol" -> "Ücretsiz Başla" (matches pricing) and added "Spam göndermeyiz" trust microcopy. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>