summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2025-11-25 20:17:28 -0800
committerRose Hogenson <rosehogenson@posteo.net>2025-11-25 20:17:28 -0800
commit7335cf0aa21c597a311dedf8d893094ad196a0f8 (patch)
treead3b6fca20fa979e931be860db2b311dbba8e02a
parent0e8d0c5f013b189f725460e2d4ce3a915c9d3ff3 (diff)
downloadroseh.moe-7335cf0aa21c597a311dedf8d893094ad196a0f8.tar.zst
Use a short cookie name
-rw-r--r--roseh.moe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/roseh.moe.go b/roseh.moe.go
index 687fe4c..3d357fd 100644
--- a/roseh.moe.go
+++ b/roseh.moe.go
@@ -375,7 +375,7 @@ func makeToken() string {
}
const cookieExpiration = 7 * 24 * time.Hour
-const authCookieName = "roseh.moe.auth"
+const authCookieName = "a"
func attachCookie(w http.ResponseWriter) {
http.SetCookie(w, &http.Cookie{