From 3b91ec2246ed229d1c3f54e5ad0f6e5c8076ff90 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 5 Apr 2014 14:34:53 +0000 Subject: [PATCH] Merged r13041 (#16511). git-svn-id: http://svn.redmine.org/redmine/branches/2.4-stable@13047 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/controllers/application_controller.rb | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5