fix: delete cookies (#5885)

Co-authored-by: Livio Spring <[email protected]>
This commit is contained in:
Elio Bischof
2023-05-19 05:12:31 +00:00
committed by GitHub
co-authored by Livio Spring
parent 133aec4568
commit 2e86c44aa5
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ func Start(config Config, externalSecure bool, issuer op.IssuerFromRequest, call
if exhausted {
limitingAccessInterceptor.SetExhaustedCookie(w, r)
} else {
limitingAccessInterceptor.DeleteExhaustedCookie(w, r)
limitingAccessInterceptor.DeleteExhaustedCookie(w)
}
_, err = w.Write(environmentJSON)
logging.OnError(err).Error("error serving environment.json")