diff --git a/src/Cli/AddUserCommand.php b/src/Cli/AddUserCommand.php index 90f3ba3..9ccebc8 100644 --- a/src/Cli/AddUserCommand.php +++ b/src/Cli/AddUserCommand.php @@ -23,6 +23,7 @@ class AddUserCommand extends Command $user = new User(); $user->setEmail($input->getArgument('email')); $user->setPlainPassword($input->getArgument('password')); + $user->setActive(true); if ($input->hasArgument('type')) { $user->setType($input->getArgument('type'));