Update mail_service.go

This commit is contained in:
Lizandro Guarnizo
2026-05-15 16:35:59 -05:00
parent dd567a156b
commit 95dd469d3c
+1 -1
View File
@@ -80,7 +80,7 @@ func GeneratePasswordResetURL(email string, baseURL string) string {
// SendPortalCredentialsEmail envía al usuario del portal su URL de acceso y contraseña inicial.
func SendPortalCredentialsEmail(email, nombre, password string) {
loginURL := fmt.Sprintf("%s/login", app.Http.Server.Url)
loginURL := fmt.Sprintf("%s/portal/login", app.Http.Server.Url)
htmlBody := fmt.Sprintf(`<!DOCTYPE html>
<html><body style="font-family:Inter,sans-serif;background:#f1f5f9;padding:32px">
<div style="max-width:480px;margin:0 auto;background:#fff;border-radius:16px;padding:32px;border:1px solid #e2e8f0">