lib/spree/auth/engine.rb in solidus_auth_devise-2.5.0 vs lib/spree/auth/engine.rb in solidus_auth_devise-2.5.1
- old
+ new
@@ -10,9 +10,11 @@
isolate_namespace Spree
engine_name 'solidus_auth'
initializer "spree.auth.environment", before: :load_config_initializers do |_app|
+ require 'spree/auth_configuration'
+
Spree::Auth::Config = Spree::AuthConfiguration.new
end
initializer "solidus_auth_devise.set_user_class", after: :load_config_initializers do
Spree.user_class = "Spree::User"