diff --git a/fs_template/email_register_oauth2.tpl b/fs_template/email_register_oauth2.tpl index 39cef6d6..5a744784 100644 --- a/fs_template/email_register_oauth2.tpl +++ b/fs_template/email_register_oauth2.tpl @@ -9,7 +9,7 @@ From: "Fusen Support"

Dear {{.UserName}},

-

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

+

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

Confirm Email: {{ .Email }} diff --git a/server/auth/internal/logic/useremailregisterlogic.go b/server/auth/internal/logic/useremailregisterlogic.go index 23ecf61f..60e66a2c 100644 --- a/server/auth/internal/logic/useremailregisterlogic.go +++ b/server/auth/internal/logic/useremailregisterlogic.go @@ -79,8 +79,7 @@ func (l *UserEmailRegisterLogic) UserEmailRegister(req *types.RequestEmailRegist } else { tplsel = "email_register_oauth2.tpl" if oauthId, ok := token.Extend["oauth_id"]; ok { - - platformAndID = token.Platform + " Id: " + oauthId.(string) + platformAndID = token.Platform + " id: " + oauthId.(string) logx.Error(platformAndID) } }