summaryrefslogtreecommitdiff
path: root/users/app/controllers/sessions_controller.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-09 16:05:22 +0100
committerAzul <azul@leap.se>2012-11-09 16:05:22 +0100
commit63c5b2cafdefbd9b13297faa57ee2f18a5c07bf5 (patch)
treee89efe6e0922ef927f1b564a09f874e49e67e555 /users/app/controllers/sessions_controller.rb
parentf9501552b7df41487e523c2a2fb3a102707ecae9 (diff)
got integration test and login flow to work
Diffstat (limited to 'users/app/controllers/sessions_controller.rb')
-rw-r--r--users/app/controllers/sessions_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/controllers/sessions_controller.rb b/users/app/controllers/sessions_controller.rb
index 72e2892..486f67e 100644
--- a/users/app/controllers/sessions_controller.rb
+++ b/users/app/controllers/sessions_controller.rb
@@ -11,8 +11,8 @@ class SessionsController < ApplicationController
end
def update
- debugger
authenticate!
+ render :json => session.delete(:handshake)
end
def destroy