From 81ad6122a7f9b0921988101eddb11f4181b3f274 Mon Sep 17 00:00:00 2001 From: eson <9673575+githubcontent@user.noreply.gitee.com> Date: Tue, 5 Sep 2023 15:00:45 +0800 Subject: [PATCH] fix --- fs_template/reset_confirm.tpl | 70 +++++++++++--- go.mod | 2 + go.sum | 4 + server/auth/internal/handler/routes.go | 5 + .../handler/userresetpasswordhtmlhandler.go | 35 +++++++ .../logic/useremailconfirmationlogic.go | 4 + .../auth/internal/logic/userregisterlogic.go | 2 +- .../logic/userresetpasswordhtmllogic.go | 61 ++++++++++++ .../internal/logic/userresetpasswordlogic.go | 93 +++++++++++++------ .../internal/logic/userresettokenlogic.go | 57 ++++++++++-- server/auth/internal/logic/websocket_test.go | 18 ++++ server/auth/internal/types/types.go | 8 +- server_api/auth.api | 17 +++- shared/shared_state.go | 2 +- 14 files changed, 321 insertions(+), 57 deletions(-) create mode 100644 server/auth/internal/handler/userresetpasswordhtmlhandler.go create mode 100644 server/auth/internal/logic/userresetpasswordhtmllogic.go diff --git a/fs_template/reset_confirm.tpl b/fs_template/reset_confirm.tpl index 72dfba60..8ced71ad 100644 --- a/fs_template/reset_confirm.tpl +++ b/fs_template/reset_confirm.tpl @@ -102,28 +102,70 @@ button:hover {
-