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

Fix timeout check in Sunstone

This commit is contained in:
Daniel Molina 2012-07-09 17:32:52 +02:00
parent 9d3924d44c
commit a3988c2150

View File

@ -185,7 +185,7 @@ end
after do
unless request.path=='/login' || request.path=='/'
unless session[:remember] == "true"
if params[:timeout] == true
if params[:timeout] == "true"
env['rack.session.options'][:defer] = true
else
env['rack.session.options'][:expire_after] = 60*10