diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-06-04 17:57:40 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-06-04 17:57:40 +0200 |
commit | 0d8ecb82a32fcb7e87d99316b00c827c8aa71eee (patch) | |
tree | 1798896461eaa7376376429f2b207aa815cf73e8 /src | |
parent | d143fa243df6112c9df7c6e7e408b66da40c8fce (diff) | |
download | wallabag-0d8ecb82a32fcb7e87d99316b00c827c8aa71eee.tar.gz wallabag-0d8ecb82a32fcb7e87d99316b00c827c8aa71eee.tar.zst wallabag-0d8ecb82a32fcb7e87d99316b00c827c8aa71eee.zip |
Fix review
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/CoreBundle/Command/ShowUserCommand.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Command/ShowUserCommand.php b/src/Wallabag/CoreBundle/Command/ShowUserCommand.php index 10428c4b..0eeaabc4 100644 --- a/src/Wallabag/CoreBundle/Command/ShowUserCommand.php +++ b/src/Wallabag/CoreBundle/Command/ShowUserCommand.php | |||
@@ -53,9 +53,9 @@ class ShowUserCommand extends ContainerAwareCommand | |||
53 | $this->output->writeln(sprintf('Username : %s', $user->getUsername())); | 53 | $this->output->writeln(sprintf('Username : %s', $user->getUsername())); |
54 | $this->output->writeln(sprintf('Email : %s', $user->getEmail())); | 54 | $this->output->writeln(sprintf('Email : %s', $user->getEmail())); |
55 | $this->output->writeln(sprintf('Display name : %s', $user->getName())); | 55 | $this->output->writeln(sprintf('Display name : %s', $user->getName())); |
56 | $this->output->writeln(sprintf('Creation date : %s', $user->getCreatedAt() !== null ? $user->getCreatedAt()->format('Y-m-d H:i:s') : 'false')); | 56 | $this->output->writeln(sprintf('Creation date : %s', $user->getCreatedAt()->format('Y-m-d H:i:s'))); |
57 | $this->output->writeln(sprintf('Last login : %s', $user->getLastLogin() !== null ? $user->getLastLogin()->format('Y-m-d H:i:s') : 'false')); | 57 | $this->output->writeln(sprintf('Last login : %s', $user->getLastLogin() !== null ? $user->getLastLogin()->format('Y-m-d H:i:s') : 'never')); |
58 | $this->output->writeln(sprintf('2FA activated: %s', $user->isTwoFactorAuthentication() ? 'true' : 'false')); | 58 | $this->output->writeln(sprintf('2FA activated: %s', $user->isTwoFactorAuthentication() ? 'yes' : 'no')); |
59 | } | 59 | } |
60 | 60 | ||
61 | /** | 61 | /** |