diff --git a/lib/kmxgit_web/templates/user_session/totp.html.heex b/lib/kmxgit_web/templates/user_session/totp.html.heex
index a28df7c..a39f7d0 100644
--- a/lib/kmxgit_web/templates/user_session/totp.html.heex
+++ b/lib/kmxgit_web/templates/user_session/totp.html.heex
@@ -10,7 +10,7 @@
<div class="mb-3">
<%= label f, :totp, gettext("TOTP (Google Authenticator) for user %{user}",
- %{user: @user.login}), class: "form-label" %>
+ %{user: @user.slug.slug}), class: "form-label" %>
<%= number_input f, :totp, class: "form-control" %>
<%= error_tag f, :totp %>
</div>