Commit fa1fe7cfb07f76a477a512883891208bf36073be

Authored by Victor Costa
1 parent b463f350

Bypass request verification

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
app/controllers/application_controller.rb
@@ -107,7 +107,8 @@ class ApplicationController < ActionController::Base @@ -107,7 +107,8 @@ class ApplicationController < ActionController::Base
107 protected 107 protected
108 108
109 def verified_request? 109 def verified_request?
110 - super || valid_authenticity_token?(session, request.headers['X-XSRF-TOKEN']) 110 + true
  111 + #super || valid_authenticity_token?(session, request.headers['X-XSRF-TOKEN'])
111 end 112 end
112 113
113 def setup_multitenancy 114 def setup_multitenancy