What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello there! I was wondering if there is a reason why *registered customers cannot change their own

Chemaclass
Chemaclass Tech Lead Spryker Solution Partner Posts: 213 🧑🏻‍🚀 - Cadet

Hello there!
I was wondering if there is a reason why registered customers cannot change their own emails, or at least admin-users cannot change customer-email fields up-on-request 🤔
I would assume that the email is just an input (for logging, that’s true), but the real identifier is the id_customer number.
Is there any Spryker reason behind this decision or am I missing something?

Comments

  • giovanni.piemontese
    giovanni.piemontese Spryker Solution Partner Posts: 871 🧑🏻‍🚀 - Cadet

    No reason for admin. U can overwrite it and allow it (we made it) but with right symfony form constraint..

  • Chemaclass
    Chemaclass Tech Lead Spryker Solution Partner Posts: 213 🧑🏻‍🚀 - Cadet

    Thanks for the quick answer. Yeah, it makes sense.

  • Stanislav Matveyev
    Stanislav Matveyev Sprykee Posts: 211 🧑🏻‍🚀 - Cadet

    using \Spryker\Zed\Customer\Business\CustomerFacade::updateCustomer() it looks you can update the email