Commit ea8013cb authored by o's avatar o
Browse files

keep this session even longer. The re-login time is limited by the iapi...

parent 6292e7b2
......@@ -67,7 +67,7 @@ class ApplicationController < ActionController::Base
def update_session_expiry
session[:expires_at] = 120.minutes.from_now.to_i
session[:expires_at] = 8.hours.from_now.to_i
helper_method :update_session_expiry
<% if @logout_urls %>
You are logged out from all services.
<% @logout_urls.each do |u| %>
<iframe src="<%= u.html_safe %>"></iframe>
<object src="<%= u.html_safe %>"></object>
<br />
<% end %>
<% else %>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment