diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2025-11-25 20:17:28 -0800 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2025-11-25 20:17:28 -0800 |
| commit | 7335cf0aa21c597a311dedf8d893094ad196a0f8 (patch) | |
| tree | ad3b6fca20fa979e931be860db2b311dbba8e02a /roseh.moe.go | |
| parent | 0e8d0c5f013b189f725460e2d4ce3a915c9d3ff3 (diff) | |
| download | roseh.moe-7335cf0aa21c597a311dedf8d893094ad196a0f8.tar.zst | |
Use a short cookie name
Diffstat (limited to 'roseh.moe.go')
| -rw-r--r-- | roseh.moe.go | 2 |
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{ |
