Skip to content

Commit

Permalink
Fix user create (#11442)
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewKennedy committed Oct 29, 2021
1 parent 36eba22 commit 557ebb4
Show file tree
Hide file tree
Showing 5 changed files with 931 additions and 915 deletions.
4 changes: 4 additions & 0 deletions api/app/controllers/spree/api/v2/platform/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ def scope_includes
def model_param_name
'user'
end

def spree_permitted_attributes
super + [:password, :password_confirmation]
end
end
end
end
Expand Down

0 comments on commit 557ebb4

Please sign in to comment.