Fix email verification domain and membership fee amount
All checks were successful
Build And Push Image / docker (push) Successful in 3m7s

- Update domain config to use portal.monacousa.org for verification links
- Correct membership fee from €50 to €150/year in welcome emails
- Add password setup link to verification success page
- Include registration date in welcome email template
This commit is contained in:
2025-08-09 18:10:33 +02:00
parent a4e8231a3b
commit 794b6a09f0
6 changed files with 47 additions and 7 deletions

View File

@@ -134,7 +134,12 @@ export default defineEventHandler(async (event) => {
firstName: member.first_name,
lastName: member.last_name,
verificationLink,
memberId: memberId
memberId: memberId,
registrationDate: new Date().toLocaleDateString('en-US', {
year: 'numeric',
month: 'long',
day: 'numeric'
})
});
emailSent = true;

View File

@@ -180,7 +180,7 @@
<p>Once your email is verified, you'll be able to log in to the portal. To activate your membership, please transfer your annual membership dues:</p>
<ul>
<li><strong>Amount:</strong> €50/year</li>
<li><strong>Amount:</strong> €150/year</li>
<li><strong>Payment method:</strong> Bank transfer (details in your portal)</li>
<li><strong>Status:</strong> Your account will be activated once payment is verified</li>
</ul>

View File

@@ -21,6 +21,7 @@ export interface WelcomeEmailData {
lastName: string;
verificationLink: string;
memberId: string;
registrationDate?: string;
logoUrl?: string;
}