summaryrefslogtreecommitdiff
path: root/users/app
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-09-03 10:49:00 +0200
committerAzul <azul@leap.se>2013-09-03 10:49:00 +0200
commit9a70f0e317e62993337e3e47382dcb7795d65652 (patch)
tree25e04f1e44723d2a7044fbfe05993f96b6406be7 /users/app
parentc17edbc069c6dcfc3dd20d8cdfb5922032769a5f (diff)
Cleanup sessions controller - webapp logs in through the api.
So the #create and #update actions were not needed anymore. Also removed the tests
Diffstat (limited to 'users/app')
-rw-r--r--users/app/controllers/sessions_controller.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/users/app/controllers/sessions_controller.rb b/users/app/controllers/sessions_controller.rb
index d6c455b..0494b51 100644
--- a/users/app/controllers/sessions_controller.rb
+++ b/users/app/controllers/sessions_controller.rb
@@ -8,16 +8,6 @@ class SessionsController < ApplicationController
end
end
- def create
- logout if logged_in?
- authenticate!
- end
-
- def update
- authenticate!
- render :json => session.delete(:handshake)
- end
-
def destroy
logout
redirect_to root_path