1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

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

(cherry picked from commit 8832d797891c586f47f99b7944bdf7ae71512a28)
This commit is contained in:
Frederick Borges 2022-02-15 19:13:34 +01:00 committed by Tino Vazquez
parent c42357bf7a
commit 2f96c31809
No known key found for this signature in database
GPG Key ID: 14201E424D02047E

View File

@ -204,7 +204,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