Skip to content

Commit

Permalink
Merge pull request #2159 from solverat/patch-1
Browse files Browse the repository at this point in the history
Use valid key in user migration
  • Loading branch information
dpfaffenbauer authored Dec 18, 2022
2 parents 5b6fc48 + e3116c1 commit 3901e7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public function up(Schema $schema): void
$this->container->getParameter('coreshop.folder.user'),
)));
$user->setCustomer($customer);
$user->setKey($customer->getEmail());
$user->setKey(Service::getValidKey($customer->getEmail(), 'object'));
$user->save();

$doneUsers[] = $loginIdentifier;
Expand Down

0 comments on commit 3901e7a

Please sign in to comment.