summaryrefslogtreecommitdiff
path: root/users/app/controllers/v1/sessions_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/controllers/v1/sessions_controller.rb')
-rw-r--r--users/app/controllers/v1/sessions_controller.rb1
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 eb6c322..eae3a1e 100644
--- a/users/app/controllers/v1/sessions_controller.rb
+++ b/users/app/controllers/v1/sessions_controller.rb
@@ -2,6 +2,7 @@ module V1
class SessionsController < ApplicationController
skip_before_filter :verify_authenticity_token
+ before_filter :require_token, only: :destroy
def new
@session = Session.new