diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-04-05 14:34:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2014-04-05 14:34:53 +0000 |
commit | 3b91ec2246ed229d1c3f54e5ad0f6e5c8076ff90 (patch) | |
tree | 989f54e697271c5cdd9cc96e7fdea20adc455f66 | |
parent | 0565e3371ee4c7531081699b1c477f653d617404 (diff) | |
download | redmine-3b91ec2246ed229d1c3f54e5ad0f6e5c8076ff90.tar.gz redmine-3b91ec2246ed229d1c3f54e5ad0f6e5c8076ff90.zip |
Merged r13041 (#16511).
git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@13047 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/controllers/application_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 449890eec..8716aae39 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -44,6 +44,7 @@ class ApplicationController < ActionController::Base unless api_request? super cookies.delete(autologin_cookie_name) + self.logged_user = nil render_error :status => 422, :message => "Invalid form authenticity token." end end |