Do not stop rendering page.
This commit is contained in:
parent
f416e58ac0
commit
1112af9e52
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ class ApplicationController < ActionController::Base
|
||||||
def user_device_log(user, type)
|
def user_device_log(user, type)
|
||||||
|
|
||||||
# return if we are in switch to user mode
|
# 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
|
# for sessions we need the fingperprint
|
||||||
if !params[:fingerprint] && type == 'session'
|
if !params[:fingerprint] && type == 'session'
|
||||||
|
|
Loading…
Reference in a new issue