Sha256: c3f880d0b072562dcb1879b63136be27232a5a4e0e77e3cdd06abbbea073e717

Contents?: true

Size: 354 Bytes

Versions: 13

Compression:

Stored size: 354 Bytes

Contents

require 'spree/core'
require 'devise'
require 'devise-encryptable'
require 'cancan'

Devise.secret_key = SecureRandom.hex(50)

module Spree
  module Auth
    mattr_accessor :default_secret_key

    def self.config(&block)
      yield(Spree::Auth::Config)
    end
  end
end

Spree::Auth.default_secret_key = Devise.secret_key

require 'spree/auth/engine'

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
spree_auth_devise-3.2.0.beta lib/spree/auth/devise.rb
solidus_auth_devise-1.5.0 lib/spree/auth/devise.rb
solidus_auth_devise-1.4.0 lib/spree/auth/devise.rb
spree_auth_devise-3.1.0 lib/spree/auth/devise.rb
spree_auth_devise-3.0.6 lib/spree/auth/devise.rb
spree_auth_devise-3.0.5 lib/spree/auth/devise.rb
solidus_auth_devise-1.3.0 lib/spree/auth/devise.rb
solidus_auth_devise-1.2.3 lib/spree/auth/devise.rb
solidus_auth_devise-1.2.2 lib/spree/auth/devise.rb
solidus_auth_devise-1.2.1 lib/spree/auth/devise.rb
solidus_auth_devise-1.2.0 lib/spree/auth/devise.rb
solidus_auth_devise-1.1.0 lib/spree/auth/devise.rb
solidus_auth_devise-1.0.0 lib/spree/auth/devise.rb