correct logical operator

This commit is contained in:
Kenneth Bingham 2024-01-09 16:46:22 -05:00
parent 8674edc23e
commit 5e0cc3ce53
No known key found for this signature in database
GPG Key ID: 31709281860130B6

View File

@ -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)
}
}