From e6fcd3c359534ef2bef4564d71d2f6c9f96eacea Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 1 Oct 2013 01:38:07 +0200 Subject: [PATCH] Removed no needed lines. --- app/controllers/sessions_controller.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/controllers/sessions_controller.rb b/app/controllers/sessions_controller.rb index 16cf989ca..c51806be5 100644 --- a/app/controllers/sessions_controller.rb +++ b/app/controllers/sessions_controller.rb @@ -25,7 +25,6 @@ class SessionsController < ApplicationController # reset_session # set session user - session[:user_id] = user.id current_user_set(user) # log new session @@ -129,7 +128,6 @@ class SessionsController < ApplicationController end # set current session user - session[:user_id] = authorization.user.id current_user_set(authorization.user) # log new session @@ -149,7 +147,6 @@ class SessionsController < ApplicationController if user # set current session user - session[:user_id] = user.id current_user_set(user) # log new session