mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-22 17:18:37 +00:00
Fix review
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
d143fa243d
commit
0d8ecb82a3
2 changed files with 4 additions and 4 deletions
|
@ -53,9 +53,9 @@ class ShowUserCommand extends ContainerAwareCommand
|
|||
$this->output->writeln(sprintf('Username : %s', $user->getUsername()));
|
||||
$this->output->writeln(sprintf('Email : %s', $user->getEmail()));
|
||||
$this->output->writeln(sprintf('Display name : %s', $user->getName()));
|
||||
$this->output->writeln(sprintf('Creation date : %s', $user->getCreatedAt() !== null ? $user->getCreatedAt()->format('Y-m-d H:i:s') : 'false'));
|
||||
$this->output->writeln(sprintf('Last login : %s', $user->getLastLogin() !== null ? $user->getLastLogin()->format('Y-m-d H:i:s') : 'false'));
|
||||
$this->output->writeln(sprintf('2FA activated: %s', $user->isTwoFactorAuthentication() ? 'true' : 'false'));
|
||||
$this->output->writeln(sprintf('Creation date : %s', $user->getCreatedAt()->format('Y-m-d H:i:s')));
|
||||
$this->output->writeln(sprintf('Last login : %s', $user->getLastLogin() !== null ? $user->getLastLogin()->format('Y-m-d H:i:s') : 'never'));
|
||||
$this->output->writeln(sprintf('2FA activated: %s', $user->isTwoFactorAuthentication() ? 'yes' : 'no'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue