Exception: Quilt::HeaderCsrfStrategy::NoSameSiteHeaderError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/quilt_rails/header_csrf_strategy.rb

Instance Method Summary collapse

Constructor Details

#initializeNoSameSiteHeaderError

Returns a new instance of NoSameSiteHeaderError.



27
28
29
30
31
32
# File 'lib/quilt_rails/header_csrf_strategy.rb', line 27

def initialize
  super(<<~MSG.squish)
    CSRF verification failed. This request is missing the
    `x-shopify-react-xhr` header, or it does not have the expected value.
  MSG
end