B #5730: Fix cookie expire time (#1775)

This commit is contained in:
Frederick Borges authored and GitHub committed 2022-02-15 19:13:34 +01:00
1 parent f59649c6d5
commit 8832d79789
1 file changed
+2 -1
+2 -1
View File
@@ -211,7 +211,8 @@ end
case $conf[:sessions]
when 'memory', nil
use Rack::Session::Pool, :key => 'sunstone'
use Rack::Session::Pool, :key => 'sunstone',
:expire_after => $conf['session_expire_time']
when 'memcache'
memcache_server=$conf[:memcache_host]+':'<<
$conf[:memcache_port].to_s