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