Sha256: 1e18a1096528a802310f9ba193589fd762c5a838524e575b326684d10ec1e0a0
Contents?: true
Size: 307 Bytes
Versions: 30
Compression:
Stored size: 307 Bytes
Contents
# frozen_string_literal: true module ShopifyApp module CsrfProtection extend ActiveSupport::Concern included do protect_from_forgery with: :exception, unless: :valid_session_token? end private def valid_session_token? request.env["jwt.shopify_domain"] end end end
Version data entries
30 entries across 30 versions & 1 rubygems