Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

store less data in the cookie

  • Loading branch information...
commit b0644f3c56c3caeea2d32e2c20b375fe13582840 1 parent bbb0a76
@mattetti authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/sessions_controller.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.