diff --git a/app/controllers/concerns/login_helper.rb b/app/controllers/concerns/login_helper.rb index 9490eea5e..19726c42a 100644 --- a/app/controllers/concerns/login_helper.rb +++ b/app/controllers/concerns/login_helper.rb @@ -56,7 +56,7 @@ module LoginHelper # Sets the logged in user def logged_user=(user) - reset_session + # reset_session if user && user.is_a?(User) User.current = user start_user_session(user)