From 8aa12167bbfdba079d341d981d1c74d58785a54d Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Fri, 25 Sep 2026 22:44:04 -0700 Subject: Increase cookie expiry --- roseh.moe.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roseh.moe.go') diff --git a/roseh.moe.go b/roseh.moe.go index a7169a7..ef4e219 100644 --- a/roseh.moe.go +++ b/roseh.moe.go @@ -695,7 +695,7 @@ func makeToken() string { return base64.RawURLEncoding.EncodeToString(append(t, mac(t, "auth")...)) } -const cookieExpiration = 7 * 24 * time.Hour +const cookieExpiration = 300 * 24 * time.Hour const authCookieName = "a" func attachCookie(w http.ResponseWriter) { -- cgit v1.3.1