summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsanine <sanine.not@pm.me>2023-05-14 21:56:14 -0500
committersanine <sanine.not@pm.me>2023-05-14 21:56:14 -0500
commit9a7b63bbc3cbce5ac469daf426da08a69c59bed4 (patch)
tree56d5b8c3253df875d1a9c98beac15665e255e477
parent5b4251fd39c43e4cfed27e032a4efb2bbba28e38 (diff)
fix login bug
-rw-r--r--login.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/login.go b/login.go
index d8db817..d1265e5 100644
--- a/login.go
+++ b/login.go
@@ -78,7 +78,7 @@ func LoginPostHandler(
http.SetCookie(w, &http.Cookie{
Name: "phlox-session",
Value: session,
- SameSite: http.SameSiteLaxMode,
+ Path: "/",
})
pages.ServeLoggedIn(w)
}