Commit 8289638ccf78c0b43529ea22311e4a36f01fbcad

Thomas de Grivel 2023-12-01T15:00:43

fix error

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/lib/kmxgit_web/templates/user_session/totp.html.heex b/lib/kmxgit_web/templates/user_session/totp.html.heex
index a39f7d0..8d5a182 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.slug.slug}), class: "form-label" %>
+          %{user: @user.slug_}), class: "form-label" %>
       <%= number_input f, :totp, class: "form-control" %>
       <%= error_tag f, :totp %>
     </div>