Removed no needed lines.
This commit is contained in:
parent
5511b0594c
commit
e6fcd3c359
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue