Replacing User::getUsername() with User::getUserIdentifier().
This commit is contained in:
parent
23d8401bb2
commit
86e6a5870e
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">Username</th>
|
||||
<td>{{ user.username }}</td>
|
||||
<td>{{ user.userIdentifier }}</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
Loading…
Reference in a new issue