diff --git a/src/Command/CreateUserCommand.php b/src/Command/CreateUserCommand.php index c5e6bfd..528bca4 100755 --- a/src/Command/CreateUserCommand.php +++ b/src/Command/CreateUserCommand.php @@ -38,7 +38,7 @@ class CreateUserCommand extends Command $email = $io->ask('Email de l\'utilisateur'); $password = $io->askHidden('Mot de passe de l\'utilisateur'); $isAdmin = $io->confirm('Est-ce un administrateur ?'); - $folderRole = $io->choice('RĂ´le du dossier', array_map(static fn ($role) => $role->value, RoleEnum::cases()), RoleEnum::VISITEUR->value); + $folderRole = $io->choice('Groupe', array_map(static fn ($role) => $role->value, RoleEnum::cases()), RoleEnum::VISITEUR->value); try { $user = $this->userRepository->findOneBy(['email' => $email]); diff --git a/src/Form/UserAdminType.php b/src/Form/UserAdminType.php index e368351..c16bb74 100755 --- a/src/Form/UserAdminType.php +++ b/src/Form/UserAdminType.php @@ -27,7 +27,7 @@ class UserAdminType extends AbstractType 'label' => 'Adresse email', ]) ->add('folderRole', EnumType::class, [ - 'label' => 'Role du dossier', + 'label' => 'Groupe', 'class' => RoleEnum::class, ]) ->add('role', ChoiceType::class, [