Commit fa1fe7cfb07f76a477a512883891208bf36073be
1 parent
b463f350
Exists in
staging
and in
2 other branches
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 | 107 | protected |
108 | 108 | |
109 | 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 | 112 | end |
112 | 113 | |
113 | 114 | def setup_multitenancy | ... | ... |