From ac612790815b2f8b1e454b88ad84fc94088e4944 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 19 Mar 2024 10:59:38 -0400 Subject: [PATCH] refactor: change ClearAuthCookie to set value to deleted --- account/jwt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account/jwt.go b/account/jwt.go index d316fbe..62c87cd 100644 --- a/account/jwt.go +++ b/account/jwt.go @@ -168,7 +168,7 @@ func ClearAuthCookie(jc jape.Context, apiName string) { http.SetCookie(jc.ResponseWriter, &http.Cookie{ Name: routeableApi.AuthTokenName(), - Value: "", + Value: "deleted", Expires: time.Date(1970, 1, 1, 0, 0, 0, 0, time.UTC), Secure: true, HttpOnly: true,