mirror of
https://github.com/openziti/zrok.git
synced 2024-11-22 08:03:49 +01:00
correctly filter the pkce cookie by name
This commit is contained in:
parent
df829bf225
commit
8674edc23e
@ -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.Domain != "pkce" {
|
||||
if cookie.Name != "zrok-access" || cookie.Name != "pkce" {
|
||||
r.AddCookie(cookie)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user