Update mail_service.go
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user