Skip to content

Commit 13b20d2

Browse files
committed
chore: Update composer dependencies and adjust UserCommand.php.
1 parent 7303b94 commit 13b20d2

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

src/Command/UserCommand.php

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,14 @@ protected function execute(InputInterface $input, OutputInterface $output)
200200
}
201201
}
202202

203-
if (empty($data['login']) || empty($data['email'])) {
204-
$output->writeln('<error>Missing --login or --email for user create</error>');
203+
if (empty($data['login'])) {
204+
$output->writeln('<error>Missing --login for user create</error>');
205+
206+
return MultiFlexiCommand::FAILURE;
207+
}
208+
209+
if (empty($data['email'])) {
210+
$output->writeln('<error>Missing --email for user create</error>');
205211

206212
return MultiFlexiCommand::FAILURE;
207213
}

0 commit comments

Comments
 (0)