diff options
author | Azul <azul@leap.se> | 2013-10-10 09:52:16 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-10-10 09:52:16 +0200 |
commit | b676e6e6f5367d1be540af817062a77ee3fe7f00 (patch) | |
tree | 107c50e838d3fe2feb7da932869a9aabc62ce46b /users/app/controllers/v1/sessions_controller.rb | |
parent | b60a75d8cbe25ac47bb037e9e54a7cf4e2ba4e1f (diff) | |
parent | eaedf19e2e54ccb9933caa8dc21df13e48609b18 (diff) |
Merge remote-tracking branch 'leap/develop'
Diffstat (limited to 'users/app/controllers/v1/sessions_controller.rb')
-rw-r--r-- | users/app/controllers/v1/sessions_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/users/app/controllers/v1/sessions_controller.rb b/users/app/controllers/v1/sessions_controller.rb index 1b20a82..eb6c322 100644 --- a/users/app/controllers/v1/sessions_controller.rb +++ b/users/app/controllers/v1/sessions_controller.rb @@ -24,6 +24,7 @@ module V1 def update authenticate! @token = Token.create(:user_id => current_user.id) + session[:token] = @token.id render :json => login_response end |