From 1c107ab960b5579ee3539c4cfbb0f11e592736bd Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Tue, 5 Sep 2023 15:53:04 +0800 Subject: [PATCH] fix --- fs_template/get_reset_password_html.tpl | 6 ++++-- server/auth/internal/logic/email_manager.go | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/fs_template/get_reset_password_html.tpl b/fs_template/get_reset_password_html.tpl index 613b0586..014d7386 100644 --- a/fs_template/get_reset_password_html.tpl +++ b/fs_template/get_reset_password_html.tpl @@ -1,4 +1,6 @@ -Subject: Password Reset Request for Your {{ .CompanyName }} Account +Subject: Password Reset + +Request for Your {{ .CompanyName }} Account Dear {{ .UserName }}, @@ -6,7 +8,7 @@ We have received your request to reset the password for your {{ .CompanyName }} Please click the button below to confirm your new password: -Confirm New Password +Open ResetPassword Page This password reset confirmation link will expire in 60 minutes. Please let us know if you have any other questions! diff --git a/server/auth/internal/logic/email_manager.go b/server/auth/internal/logic/email_manager.go index 47268c8e..57ad20cb 100644 --- a/server/auth/internal/logic/email_manager.go +++ b/server/auth/internal/logic/email_manager.go @@ -34,7 +34,7 @@ func init() { EmailManager = &EmailSender{ EmailTasks: make(chan *EmailFormat, 10), Auth: smtp.PlainAuth( - "", + "fusen support", "support@fusenpack.com", "wfbjpdgvaozjvwah", "smtp.gmail.com",