From bd5b49b09b44ef0ac4162205e2eeb5743d418640 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 28 Jun 2020 03:19:07 +0200 Subject: [PATCH] MAPG-181 set user active when added from CLI --- src/Cli/AddUserCommand.php | 1 + 1 file changed, 1 insertion(+) 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'));