Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Fixed: always use `try_spree_current_user`

Damian Legawiec85b77bb34545
diff --git a/storefront/app/controllers/spree/account/base_controller.rb b/storefront/app/controllers/spree/account/base_controller.rb
index 8af8768b23..b4fa9685c7 100644
--- a/storefront/app/controllers/spree/account/base_controller.rb
+++ b/storefront/app/controllers/spree/account/base_controller.rb
@@ -13,7 +13,7 @@ module Spree
private
def set_user
- @user = spree_current_user
+ @user = try_spree_current_user
end
end
end