We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2bffa45 + 70115d6 commit a410237Copy full SHA for a410237
app/code/Magento/Customer/Model/Plugin/UpdateCustomer.php
@@ -63,7 +63,9 @@ public function beforeSave(
63
$customerId === $customerSessionId
64
) {
65
$customer = $this->getUpdatedCustomer($customerRepository->getById($customerId), $customer);
66
- } elseif ($userType === UserContextInterface::USER_TYPE_ADMIN && $customerId) {
+ } elseif ($customerId && in_array($userType, [UserContextInterface::USER_TYPE_ADMIN,
67
+ UserContextInterface::USER_TYPE_INTEGRATION], true)
68
+ ) {
69
70
}
71
0 commit comments