[Feat] Add ResetPassword Page #15

This commit is contained in:
Harry-zklcdc
2025-02-24 16:40:52 +08:00
parent 2e3cfbcecb
commit e80f3f02aa
3 changed files with 57 additions and 8 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ func InitUser(party router.Party) {
party.Get("/logout", middleware.AuthCheck, logoutHandler)
party.Post("/register", registerHandler)
party.Get("/profile", middleware.AuthCheck, profileHandler)
party.Post("/resetPassword", middleware.AuthCheck, resetPasswordHandler)
party.Post("/reset-password", middleware.AuthCheck, resetPasswordHandler)
party.Get("/verify/{code:string}", verifyHandler)
party.Post("/verify", middleware.AuthCheck, verifySendHandler)