diff --git a/lib/spree/authentication_helpers.rb b/lib/spree/authentication_helpers.rb index 29bb716d98..49bd97542a 100644 --- a/lib/spree/authentication_helpers.rb +++ b/lib/spree/authentication_helpers.rb @@ -8,7 +8,7 @@ module Spree end def spree_current_user - @current_spree_user ||= request.env['warden'].authenticate + current_spree_user end delegate :login_path, to: :spree, prefix: true