Email verification Backend

This commit is contained in:
magdo committed 2025-10-24 21:16:23 +02:00
1 parent b9fedb3601
commit 7a9a676fc0
10 files changed
+8 -9

No files matched your search

@@ -69,7 +69,7 @@ export class CreateUserCommandHandler {
private async sendVerificationEmailAsync(user: UserAggregate, token: string): Promise<void> {
try {
const baseUrl = process.env.APP_BASE_URL || 'http://localhost:3000';
const baseUrl = process.env.FRONTEND_URL || 'http://localhost:5173';
const verificationUrl = TokenService.generateVerificationUrl(baseUrl, token);
const emailSent = await this.emailService.sendVerificationEmail(