From 6cf8fd04f4d910b09eab0fae8c8892aa695fd65c Mon Sep 17 00:00:00 2001 From: 12975 <1297598740@qq.com> Date: Sun, 1 Feb 2026 13:51:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E8=AE=A4=E8=AF=81?= =?UTF-8?q?=E5=A4=84=E7=90=86=E5=99=A8=EF=BC=8C=E5=8C=85=E5=90=AB=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E6=B3=A8=E5=86=8C=E3=80=81=E7=99=BB=E5=BD=95=E3=80=81?= =?UTF-8?q?=E5=88=B7=E6=96=B0=E4=BB=A4=E7=89=8C=E3=80=81=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=A5=E5=8F=8AGitHub=E5=92=8CGitee=20OAut?= =?UTF-8?q?h=E5=8A=9F=E8=83=BD=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/handler/auth_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/handler/auth_handler.go b/internal/handler/auth_handler.go index 3aaa1a4..98307a8 100644 --- a/internal/handler/auth_handler.go +++ b/internal/handler/auth_handler.go @@ -122,7 +122,7 @@ func (h *AuthHandler) GetCurrentUser(c *gin.Context) { } type UpdatePasswordRequest struct { - OldPassword string `json:"old_password" binding:"required"` + OldPassword string `json:"old_password"` NewPassword string `json:"new_password" binding:"required,min=8"` }