Skip to content

Commit

Permalink
Security update in go.mod, plus a fix in log output
Browse files Browse the repository at this point in the history
  • Loading branch information
craftleon committed Dec 14, 2024
1 parent b3d629a commit 985c42a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ac/httpac.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ func (ha *HttpAC) initRouter() {
refreshGrp.GET("/:token", func(ctx *gin.Context) {
var err error
token := ctx.Param("token")
log.Info("get refresh request. aspId: %s, query: %v", token, ctx.Request.URL.RawQuery)
log.Info("get refresh request. token: %s, query: %v", token, ctx.Request.URL.RawQuery)

if len(token) == 0 {
err = common.ErrUrlPathInvalid
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/pelletier/go-toml/v2 v2.1.1
github.com/spf13/viper v1.18.2
github.com/urfave/cli/v2 v2.27.0
golang.org/x/crypto v0.17.0
golang.org/x/crypto v0.31.0
gorm.io/driver/mysql v1.5.2
gorm.io/gorm v1.25.5
)

0 comments on commit 985c42a

Please sign in to comment.