From b37f2fa0f8d0682b5e887aca8c1fe0b4f47972db Mon Sep 17 00:00:00 2001 From: catatsuy Date: Sun, 13 Oct 2024 08:20:13 +0900 Subject: [PATCH] fix session options --- webapp/go/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/go/main.go b/webapp/go/main.go index 4789a9e25..9ff87d2df 100644 --- a/webapp/go/main.go +++ b/webapp/go/main.go @@ -276,7 +276,7 @@ func init() { Options: &sessions.Options{ Path: "/", MaxAge: 86400 * 30, - SameSite: http.SameSiteNoneMode, + HttpOnly: true, }, } cs.MaxAge(cs.Options.MaxAge)