summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--roseh.moe.go2
1 files changed, 1 insertions, 1 deletions
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) {