From 9ab399cf1a495ec62212c834c09c8b7b0094a244 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Tue, 2 Jan 2024 14:28:20 +1100 Subject: [PATCH] Increase cookie timeout --- config.ru | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.ru b/config.ru index 6fbe276..7e82d0c 100644 --- a/config.ru +++ b/config.ru @@ -9,7 +9,7 @@ raise StandardError.new("No secret key") unless ENV["SESSION_SECRET"] use Rack::Session::Cookie, domain: URI.parse(ENV["MICROPUB_SITE_URL"]).host, path: "/", - expire_after: 3600 * 24, + expire_after: 3600 * 72, secret: ENV["SESSION_SECRET"] require "rack/rewrite"