Release 2.23.0 (#5075)

This commit is contained in:
Kevin Papst
2024-10-03 10:34:20 +02:00
committed by GitHub
parent 40154be8f9
commit fb9a0dc499
142 changed files with 855 additions and 910 deletions

View File

@@ -19,7 +19,7 @@ use Symfony\Component\Console\Style\SymfonyStyle;
#[AsCommand(name: 'kimai:user:list', description: 'List all users')]
final class ListUserCommand extends Command
{
public function __construct(private UserRepository $repository)
public function __construct(private readonly UserRepository $repository)
{
parent::__construct();
}
@@ -35,12 +35,12 @@ final class ListUserCommand extends Command
$user->getUserIdentifier(),
$user->getEmail(),
implode(', ', $user->getRoles()),
$user->isEnabled() ? 'X' : '',
$user->getPasswordRequestedAt()?->format('Y-m-d H:i:s')
$user->isEnabled() ? 'Yes' : '-',
$user->getAuth() ?? '',
];
}
$header = ['Username', 'Email', 'Roles', 'Active', 'PW Reset'];
$header = ['Username', 'Email', 'Roles', 'Active', 'Authenticator'];
$output->table($header, $data);