From de9a2a6f2a5f7c878e2c40bb0282837ddbae1273 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 1 Oct 2013 23:42:06 +0200 Subject: [PATCH] Fixed missing user lookup. --- app/controllers/sessions_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 6879a1bdc..5050bd377 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -169,6 +169,7 @@ class SessionsController < ApplicationController next if !session.data['user_id'] sessions_clean.push session if session.data['user_id'] + user = User.lookup( :id => session.data['user_id'] ) assets = user.assets( assets ) end }