From 8e84eb4d00dfa5da8c4012848509542a0e569683 Mon Sep 17 00:00:00 2001 From: eson <474420502@qq.com> Date: Wed, 6 Sep 2023 00:08:51 +0800 Subject: [PATCH] fix --- server/auth/internal/logic/email_manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/auth/internal/logic/email_manager.go b/server/auth/internal/logic/email_manager.go index 15ac3c0c..4d1bd84a 100644 --- a/server/auth/internal/logic/email_manager.go +++ b/server/auth/internal/logic/email_manager.go @@ -222,7 +222,7 @@ func RenderEmailTemplate(templateName, companyName, confirmationLink, senderName } var result bytes.Buffer - result.Write([]byte("MIME-version: 1.0;\nContent-Type: text/html; charset=\"UTF-8\";\n\n")) + // result.Write([]byte("MIME-version: 1.0;\nContent-Type: text/html; charset=\"UTF-8\";\n\n")) err := tpls.ExecuteTemplate(&result, templateName, data) if err != nil { log.Fatal(err)