Closed giginos closed 7 years ago
While creating a new user via PHP-API validation does not work, because in CLI-Mode Request is null. In this case we also have to call parent validator so i added this line.
// Shopware\Components\Api\Manager $userManager = Manager::getResource('customer'); $userManager->create($userData)
Cheers, Rafael Kutscha
While creating a new user via PHP-API validation does not work, because in CLI-Mode Request is null. In this case we also have to call parent validator so i added this line.
// Shopware\Components\Api\Manager $userManager = Manager::getResource('customer'); $userManager->create($userData)
Cheers, Rafael Kutscha