From 649e0e0011be55aa5874bf9b43abf34ba32d0615 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Mon, 18 Mar 2024 16:40:18 -0400 Subject: [PATCH] Revert "fix: remove Secure property" This reverts commit 044604d863cc651ecd8bb5912d37fafe321366b0. --- account/jwt.go | 1 + 1 file changed, 1 insertion(+) diff --git a/account/jwt.go b/account/jwt.go index f1d78ca..0ac7c1b 100644 --- a/account/jwt.go +++ b/account/jwt.go @@ -137,6 +137,7 @@ func ClearAuthCookie(jc jape.Context, apiName string) { Name: routeableApi.AuthTokenName(), Value: "", Expires: time.Now().Add(-1 * time.Hour), + Secure: true, HttpOnly: true, Path: "/", Domain: routeableApi.Domain(),