We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f401ba6 commit 98695b6Copy full SHA for 98695b6
api/app/controllers/spree/api/base_controller.rb
@@ -68,7 +68,7 @@ def permitted_line_item_attributes
68
end
69
70
def permitted_user_attributes
71
- can?(:admin, Spree::LegacyUser) ? super + admin_metadata_attributes : super
+ can?(:admin, Spree.user_class) ? super + admin_metadata_attributes : super
72
73
74
def load_user
0 commit comments