diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index bfed52d..1a9eb16 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -27,7 +27,10 @@ class ApplicationController < ActionController::Base exempt_from_layout 'builder', 'rsb' protect_from_forgery - + def handle_unverified_request + super + cookies.delete(:autologin) + end # Remove broken cookie after upgrade from 0.8.x (#4292) # See https://rails.lighthouseapp.com/projects/8994/tickets/3360 # TODO: remove it when Rails is fixed