Skip to content

Commit

Permalink
use getUserIdentifier instead of username
Browse files Browse the repository at this point in the history
  • Loading branch information
jrushlow committed Apr 23, 2022
1 parent 5694cc6 commit 5f178a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/skeleton/authenticator/login_form.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<?php if ($logout_setup): ?>
{% if app.user %}
<div class="mb-3">
You are logged in as {{ app.user.username }}, <a href="{{ path('app_logout') }}">Logout</a>
You are logged in as {{ app.user.getUserIdentifier }}, <a href="{{ path('app_logout') }}">Logout</a>
</div>
{% endif %}
<?php endif; ?>
Expand Down

0 comments on commit 5f178a3

Please sign in to comment.