diff --git a/docker-compose.yml b/docker-compose.yml index 5cbbe59..a3596d1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -232,7 +232,7 @@ services: - NODE_ENV=development - PORT=8000 - HOST=0.0.0.0 - - FRONTEND_URL=* # Allow all URLs + - FRONTEND_URL=http://localhost:3001 # Allow all URLs - CORS_ORIGINS=* # Allow all URLs - CORS_METHODS=GET,POST,PUT,DELETE,PATCH,OPTIONS # Add this line - CORS_CREDENTIALS=true # Add this line @@ -506,7 +506,7 @@ services: - JWT_ACCESS_EXPIRY=24h - JWT_ADMIN_ACCESS_EXPIRY=7d - JWT_REFRESH_EXPIRY=7d - - FRONTEND_URL=* + - FRONTEND_URL=http://localhost:3001 # Email Configuration - SMTP_HOST=smtp.gmail.com - SMTP_PORT=587 @@ -614,7 +614,7 @@ services: environment: - PORT=8012 - HOST=0.0.0.0 - - FRONTEND_URL=* + - FRONTEND_URL=http://localhost:3001 - POSTGRES_HOST=postgres - POSTGRES_PORT=5432 - POSTGRES_DB=dev_pipeline diff --git a/services/user-auth/src/services/authService.js b/services/user-auth/src/services/authService.js index d67bda8..14a8b19 100644 --- a/services/user-auth/src/services/authService.js +++ b/services/user-auth/src/services/authService.js @@ -164,10 +164,20 @@ class AuthService {
Hi ${user.first_name || user.username}, thanks for registering with us on ${dateString}. Please confirm your email address by clicking the button below:
| + Verify Email + | +
This link is valid for 24 hours.
-If you didn’t create this account, please ignore this email.
+If you didn't create this account, please ignore this email.
+
+ Can't click the button? Copy and paste this link into your browser:
+ ${verifyUrl}
+