From ea886371e485885d88bac685aab276e36ffedb4f Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 28 Apr 2025 08:34:53 -0600 Subject: test: temporarily disable http and secure flags --- pkg/web/cookie/new.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'pkg/web') diff --git a/pkg/web/cookie/new.go b/pkg/web/cookie/new.go index 335b305..2809640 100644 --- a/pkg/web/cookie/new.go +++ b/pkg/web/cookie/new.go @@ -9,13 +9,13 @@ import ( func New(name, value string, expires time.Time) *http.Cookie { return &http.Cookie{ - Name: name, - Value: value, // TODO:: digitally sign the value - Expires: expires, - MaxAge: int(time.Until(expires).Seconds()), - Path: "/", - HttpOnly: true, - Secure: true, + Name: name, + Value: value, // TODO:: digitally sign the value + Expires: expires, + MaxAge: int(time.Until(expires).Seconds()), + Path: "/", + // HttpOnly: true, + // Secure: true, SameSite: http.SameSiteDefaultMode, Domain: env.Fetch("HOST", "localhost"), } -- cgit v1.2.3