bugfix: Logout cookies causing a conflict (#461)

This commit is contained in:
James Read 2024-11-01 20:36:38 +00:00 committed by GitHub
parent 9117163316
commit ceb0a78180
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 2 deletions

View File

@ -117,7 +117,10 @@ func forwardResponseHandlerLogout(md metadata.MD, w http.ResponseWriter) {
w, w,
&http.Cookie{ &http.Cookie{
Name: "olivetin-sid-local", Name: "olivetin-sid-local",
MaxAge: 31556952, // 1 year
Value: "", Value: "",
HttpOnly: true,
Path: "/",
}, },
) )