diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index e8376b6a281..efea5b2f652 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -243,7 +243,7 @@ class ApplicationController < ActionController::Base end def can_cache_content? - !current_user.present? + current_user.blank? && flash[:authentication_data].blank? end # Our custom cache method