From 453ea725a2d7948c28b5166bf38930a2d1de50f9 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Mon, 8 Aug 2011 16:04:10 +0100 Subject: Cookie life now 8 weeks. Fixes #1216 --- lib/mauve/http_server.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/mauve/http_server.rb') diff --git a/lib/mauve/http_server.rb b/lib/mauve/http_server.rb index 2b8d5cf..72eb85a 100644 --- a/lib/mauve/http_server.rb +++ b/lib/mauve/http_server.rb @@ -139,7 +139,7 @@ module Mauve # # Sessions are kept for 8 days. # - @server = ::Thin::Server.new(@ip, @port, Rack::Session::Cookie.new(WebInterface.new, {:key => "mauvealert", :secret => @session_secret, :expire_after => 691200}), :signals => false) + @server = ::Thin::Server.new(@ip, @port, Rack::Session::Cookie.new(WebInterface.new, {:key => "mauvealert", :secret => @session_secret, :expire_after => 8.weeks}), :signals => false) @server.start end end -- cgit v1.2.1