Skip to content

Commit

Permalink
remove ratelimit on user create command for admins
Browse files Browse the repository at this point in the history
  • Loading branch information
e-five256 committed Apr 30, 2024
1 parent 43bf5a9 commit 930593f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command/UserCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private function createUser(InputInterface $input, SymfonyStyle $io): void
$dto = (new UserDto())->create($input->getArgument('username'), $input->getArgument('email'));
$dto->plainPassword = $input->getArgument('password');

$user = $this->manager->create($dto, false);
$user = $this->manager->create($dto, false, false);

if ($input->getOption('admin')) {
$user->setOrRemoveAdminRole();
Expand Down

0 comments on commit 930593f

Please sign in to comment.