Set updated_at immediately after login.

pull/244/head
Christian Rijke 11 years ago committed by Michael Frister
parent 44184492e1
commit c9d1e660a4
  1. 1
      app/controllers/application_controller.rb

@ -144,6 +144,7 @@ class ApplicationController < ActionController::Base
else
User.current = User.anonymous
end
session[:updated_at] = Time.now
end
# check if login is globally required to access the application

Loading…
Cancel
Save