From 866d9179a9ef9e3ddc8b350ec3743c2dcc04f379 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Wed, 6 Sep 2023 16:35:44 +0800 Subject: [PATCH] fix --- fs_template/email_register_oauth2.tpl | 2 +- server/auth/internal/logic/useremailregisterlogic.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fs_template/email_register_oauth2.tpl b/fs_template/email_register_oauth2.tpl index 85ed4fab..6d8b4c89 100644 --- a/fs_template/email_register_oauth2.tpl +++ b/fs_template/email_register_oauth2.tpl @@ -11,7 +11,7 @@ From: "Fusen Support"

Thank you for choosing {{ .CompanyName }}. To complete the account setup process, please click the button below to confirm your email address:

-Confirm Email: {{ .UserName }} +Confirm Email: {{ .Email }}

Confirming your email ensures your account is properly secured. This also allows you to access member-only tools and content.

diff --git a/server/auth/internal/logic/useremailregisterlogic.go b/server/auth/internal/logic/useremailregisterlogic.go index 8c7c1c38..fb3d8abe 100644 --- a/server/auth/internal/logic/useremailregisterlogic.go +++ b/server/auth/internal/logic/useremailregisterlogic.go @@ -91,6 +91,7 @@ func (l *UserEmailRegisterLogic) UserEmailRegister(req *types.RequestEmailRegist SenderTitle: "register-valid", Extend: map[string]string{ "UserName": userName, + "Email": req.Email, }, } // email进入队