From cd04230f29d3f2e3a1811ac9682c32de912b54f8 Mon Sep 17 00:00:00 2001 From: Zeni Kim Date: Mon, 28 Oct 2024 12:11:24 -0500 Subject: [PATCH] remove secure to enable remote cookie --- cookies.go | 1 - 1 file changed, 1 deletion(-) diff --git a/cookies.go b/cookies.go index 8c03c10..ce17dd2 100644 --- a/cookies.go +++ b/cookies.go @@ -126,7 +126,6 @@ func SetCookie(w http.ResponseWriter, email string, token string) error { Path: "/", MaxAge: 3600, HttpOnly: true, - Secure: true, SameSite: http.SameSiteLaxMode, }