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(); $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; return Command::SUCCESS;
} }

View file

@ -74,7 +74,7 @@ class AddUserCommand extends Command
$this->em->flush(); $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; return Command::SUCCESS;
} }

View file

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