Skip to content

Commit bc4af1a

Browse files
committed
🐛 Fix version is obsolete
1 parent 3ffe1da commit bc4af1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/middleware/identity.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ func Identity() gin.HandlerFunc {
3636
func setBszIdentity(c *gin.Context, userIdentity string) {
3737
uid := jwtutil.Generate(userIdentity)
3838
c.SetSameSite(http.SameSiteNoneMode)
39-
c.SetCookie("bsz_id", uid, 86400, "/", "", false, true)
39+
c.SetCookie("bsz_id", uid, 86400, "/", "", true, true)
4040
}
4141

4242
func getUserIdentity(c *gin.Context) string {

docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: "3"
1+
version: "3.8"
22
services:
33
redis:
44
image: "redis:alpine"

0 commit comments

Comments
 (0)