Permalink
Browse files

store less data in the cookie

  • Loading branch information...
mattetti committed Sep 1, 2012
1 parent bbb0a76 commit b0644f3c56c3caeea2d32e2c20b375fe13582840
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/sessions_controller.rb
@@ -1,6 +1,6 @@
class SessionsController < ApplicationController
def create
- session[:current_user] = auth_hash
+ session[:current_user] = { 'info' => auth_hash['info'], 'credentials' => auth_hash['credentials'] }
redirect_to '/'
end

0 comments on commit b0644f3

Please sign in to comment.