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.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/controllers/v1/sessions_controller.rb b/app/controllers/v1/sessions_controller.rb
index d88fcdc..a343d9b 100644
--- a/app/controllers/v1/sessions_controller.rb
+++ b/app/controllers/v1/sessions_controller.rb
@@ -1,8 +1,7 @@
module V1
- class SessionsController < ApplicationController
+ class SessionsController < ApiController
- skip_before_filter :verify_authenticity_token
- before_filter :require_token, only: :destroy
+ before_filter :require_login, only: :destroy
def new
@session = Session.new