Remove invitation code from email, keep only button link

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Sergei 2026-01-09 13:18:08 -08:00
parent 01bebeedbe
commit 79baf86faf

View File

@ -261,12 +261,6 @@ async function sendInvitationEmail({ email, inviterName, beneficiaryName, role,
<p style="margin: 4px 0 0 0; font-size: 16px; font-weight: 600; color: #4A90D9;">${roleText}</p>
</div>
<!-- Invite Code -->
<div style="background-color: #F5F7FA; border-radius: 8px; padding: 20px; text-align: center; margin-bottom: 24px;">
<p style="margin: 0 0 8px 0; font-size: 13px; color: #666666;">Your invitation code:</p>
<p style="margin: 0; font-size: 28px; font-weight: 700; letter-spacing: 3px; color: #333333;">${inviteCode}</p>
</div>
<!-- CTA Button -->
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
@ -303,8 +297,6 @@ ${inviterName || 'Someone'} has invited you to help monitor ${beneficiaryName ||
Your role: ${roleText}
Your invitation code: ${inviteCode}
Accept your invitation: ${acceptLink}
If you didn't expect this invitation, you can safely ignore this email.