From 5e0cc3ce536433ee3a85bff7152b0f6062e97883 Mon Sep 17 00:00:00 2001 From: Kenneth Bingham Date: Tue, 9 Jan 2024 16:46:22 -0500 Subject: [PATCH] correct logical operator --- endpoints/publicProxy/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpoints/publicProxy/http.go b/endpoints/publicProxy/http.go index 55747941..1753e34b 100644 --- a/endpoints/publicProxy/http.go +++ b/endpoints/publicProxy/http.go @@ -375,7 +375,7 @@ func deleteZrokCookies(w http.ResponseWriter, r *http.Request) { // JWT to ensure it matches the requested share and will send the client back to the OAuth provider if it does not // match. for _, cookie := range cookies { - if cookie.Name != "zrok-access" || cookie.Name != "pkce" { + if cookie.Name != "zrok-access" && cookie.Name != "pkce" { r.AddCookie(cookie) } }