Replacing User::getUsername() with User::getUserIdentifier().

This commit is contained in:
Alexey Skobkin 2022-07-20 00:53:21 +03:00
parent 23d8401bb2
commit 86e6a5870e
No known key found for this signature in database
GPG Key ID: 5D5CEF6F221278E7
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ class AddInvitesCommand extends Command
$this->em->flush();
$output->writeln(sprintf('<info>%d invites added to \'%s\'.</info>', $number, $user->getUsername()));
$output->writeln(sprintf('<info>%d invites added to \'%s\'.</info>', $number, $user->getUserIdentifier()));
return Command::SUCCESS;
}

View File

@ -74,7 +74,7 @@ class AddUserCommand extends Command
$this->em->flush();
$output->writeln(sprintf('<info>User \'%s\' registered, %d invites added.</info>', $user->getUsername(), $invites));
$output->writeln(sprintf('<info>User \'%s\' registered, %d invites added.</info>', $user->getUserIdentifier(), $invites));
return Command::SUCCESS;
}

View File

@ -10,7 +10,7 @@
<tbody>
<tr>
<th scope="row">Username</th>
<td>{{ user.username }}</td>
<td>{{ user.userIdentifier }}</td>
<td></td>
</tr>
<tr>