From af1f26b322cd19220facce08c7412048a04193bd Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Mon, 4 Sep 2023 18:43:31 +0800 Subject: [PATCH] fix --- fs_template/reset_confirm.tpl | 129 ++++++++++++++++++ .../logic/useremailconfirmationlogic.go | 2 +- 2 files changed, 130 insertions(+), 1 deletion(-) create mode 100644 fs_template/reset_confirm.tpl diff --git a/fs_template/reset_confirm.tpl b/fs_template/reset_confirm.tpl new file mode 100644 index 00000000..72dfba60 --- /dev/null +++ b/fs_template/reset_confirm.tpl @@ -0,0 +1,129 @@ + + + + + + + + + +
+ +

Reset Password

+ +
+ +
+ + +
+ +
+ + +
+ + + +
+ +
+ + + \ No newline at end of file diff --git a/server/auth/internal/logic/useremailconfirmationlogic.go b/server/auth/internal/logic/useremailconfirmationlogic.go index 6ae4fac6..397d04ea 100644 --- a/server/auth/internal/logic/useremailconfirmationlogic.go +++ b/server/auth/internal/logic/useremailconfirmationlogic.go @@ -45,7 +45,7 @@ func FinishRegister(svcCtx *svc.ServiceContext, user *gmodel.FsUser, token *auth svcCtx.Config.Auth.AccessExpire, time.Now().UTC().Unix(), user.Id, - token.GuestId, + 0, ) if err != nil {