diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-08 16:04:10 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-08 16:04:10 +0100 |
commit | 453ea725a2d7948c28b5166bf38930a2d1de50f9 (patch) | |
tree | 0afedf7ae9923530a21edb8aaf5ba5c90c3fc89b | |
parent | 747a99fb5e4a3b829652c2c3693ac0575cd96dde (diff) |
Cookie life now 8 weeks. Fixes #1216
-rw-r--r-- | lib/mauve/http_server.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |