bugfix: Logout cookies causing a conflict (#461)

This commit is contained in:
James Read authored and GitHub committed 2024-11-01 20:36:38 +00:00
1 parent 9117163316
commit ceb0a78180
1 file changed
+5 -2
+5 -2
View File
@@ -116,8 +116,11 @@ func forwardResponseHandlerLogout(md metadata.MD, w http.ResponseWriter) {
http.SetCookie(
w,
&http.Cookie{
Name: "olivetin-sid-local",
Value: "",
Name: "olivetin-sid-local",
MaxAge: 31556952, // 1 year
Value: "",
HttpOnly: true,
Path: "/",
},
)