We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a8a7f9 commit 7478697Copy full SHA for 7478697
config/initializers/spree.rb
@@ -1 +1 @@
1
-Spree.user_class = "Spree::User"
+
lib/spree/auth/engine.rb
@@ -18,6 +18,10 @@ def self.activate
18
ApplicationController.send :include, Spree::AuthenticationHelpers
19
end
20
21
+ initializer "spree_auth_devise.set_user_class", :after => :load_config_initializers do
22
+ Spree.user_class = "Spree::User"
23
+ end
24
25
config.to_prepare &method(:activate).to_proc
26
27
0 commit comments