From 1112af9e5227dc4c13425e5349f24468e99fea09 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Wed, 19 Aug 2015 02:16:57 +0200 Subject: [PATCH] Do not stop rendering page. --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index a15c01162..d898d77cd 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -130,7 +130,7 @@ class ApplicationController < ActionController::Base def user_device_log(user, type) # return if we are in switch to user mode - return if session[:switched_from_user_id] + return true if session[:switched_from_user_id] # for sessions we need the fingperprint if !params[:fingerprint] && type == 'session'