summaryrefslogtreecommitdiff
path: root/app/controllers/v1/sessions_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/v1/sessions_controller.rb')
-rw-r--r--app/controllers/v1/sessions_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/v1/sessions_controller.rb b/app/controllers/v1/sessions_controller.rb
index eae3a1e..d88fcdc 100644
--- a/app/controllers/v1/sessions_controller.rb
+++ b/app/controllers/v1/sessions_controller.rb
@@ -38,7 +38,7 @@ module V1
def login_response
handshake = session.delete(:handshake) || {}
- handshake.to_hash.merge(:id => current_user.id, :token => @token.id)
+ handshake.to_hash.merge(:id => current_user.id, :token => @token.to_s)
end
end