update captcha

This commit is contained in:
aichy
2023-07-21 16:06:28 +08:00
parent 12cc225d5b
commit e31fc6ebff
+1 -1
View File
@@ -395,7 +395,7 @@ func (uc *UserController) UserModifyPassWord(ctx *gin.Context) {
}
err = uc.userService.UserModifyPassword(ctx, req)
if err == nil {
uc.actionService.ActionRecordDel(ctx, entity.CaptchaActionPassword, ctx.ClientIP())
uc.actionService.ActionRecordDel(ctx, entity.CaptchaActionPassword, req.UserID)
}
handler.HandleResponse(ctx, err, nil)
}