mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 23:02:52 +01:00
correct logical operator
This commit is contained in:
parent
8674edc23e
commit
5e0cc3ce53
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user