Skip to content

Commit

Permalink
🐛 Fix version is obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
soxft committed Aug 16, 2024
1 parent 3ffe1da commit bc4af1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/middleware/identity.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func Identity() gin.HandlerFunc {
func setBszIdentity(c *gin.Context, userIdentity string) {
uid := jwtutil.Generate(userIdentity)
c.SetSameSite(http.SameSiteNoneMode)
c.SetCookie("bsz_id", uid, 86400, "/", "", false, true)
c.SetCookie("bsz_id", uid, 86400, "/", "", true, true)
}

func getUserIdentity(c *gin.Context) string {
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: "3"
version: "3.8"
services:
redis:
image: "redis:alpine"
Expand Down

0 comments on commit bc4af1a

Please sign in to comment.