Exception: Quilt::HeaderCsrfStrategy::NoSameSiteHeaderError
- Inherits:
-
StandardError
- Object
- StandardError
- Quilt::HeaderCsrfStrategy::NoSameSiteHeaderError
- Defined in:
- lib/quilt_rails/header_csrf_strategy.rb
Instance Method Summary collapse
-
#initialize ⇒ NoSameSiteHeaderError
constructor
A new instance of NoSameSiteHeaderError.
Constructor Details
#initialize ⇒ NoSameSiteHeaderError
Returns a new instance of NoSameSiteHeaderError.
27 28 29 30 31 |
# File 'lib/quilt_rails/header_csrf_strategy.rb', line 27 def initialize # rubocop:disable LineLength super "CSRF verification failed. This request is missing the `x-shopify-react-xhr` header, or it does not have the expected value." # rubocop:enable LineLength end |