diff --git a/src/Command/AddInvitesCommand.php b/src/Command/AddInvitesCommand.php
index 1c30c14..c27a585 100644
--- a/src/Command/AddInvitesCommand.php
+++ b/src/Command/AddInvitesCommand.php
@@ -44,7 +44,7 @@ class AddInvitesCommand extends Command
$this->em->flush();
- $output->writeln(sprintf('%d invites added to \'%s\'.', $number, $user->getUsername()));
+ $output->writeln(sprintf('%d invites added to \'%s\'.', $number, $user->getUserIdentifier()));
return Command::SUCCESS;
}
diff --git a/src/Command/AddUserCommand.php b/src/Command/AddUserCommand.php
index 8f4da3c..eb438ac 100644
--- a/src/Command/AddUserCommand.php
+++ b/src/Command/AddUserCommand.php
@@ -74,7 +74,7 @@ class AddUserCommand extends Command
$this->em->flush();
- $output->writeln(sprintf('User \'%s\' registered, %d invites added.', $user->getUsername(), $invites));
+ $output->writeln(sprintf('User \'%s\' registered, %d invites added.', $user->getUserIdentifier(), $invites));
return Command::SUCCESS;
}
diff --git a/templates/Account/profile.html.twig b/templates/Account/profile.html.twig
index 34a0c6d..f2e5748 100644
--- a/templates/Account/profile.html.twig
+++ b/templates/Account/profile.html.twig
@@ -10,7 +10,7 @@
Username |
- {{ user.username }} |
+ {{ user.userIdentifier }} |
|