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.

Fix: Add missing email param and remove unused title param (#12496)

Dimitrios Panagkasidis6b3df33a8227
diff --git a/storefront/app/controllers/spree/account/profile_controller.rb b/storefront/app/controllers/spree/account/profile_controller.rb
index ec058ee61e..d3938e637e 100644
--- a/storefront/app/controllers/spree/account/profile_controller.rb
+++ b/storefront/app/controllers/spree/account/profile_controller.rb
@@ -14,7 +14,7 @@ module Spree
private
def user_params
- params.require(:user).permit(:title, :first_name, :last_name, :phone)
+ params.require(:user).permit(:first_name, :last_name, :phone, :email)
end
end
end