diff --git a/lib/kmxgit/user_manager.ex b/lib/kmxgit/user_manager.ex
index 3a0fa39..37719d6 100644
--- a/lib/kmxgit/user_manager.ex
+++ b/lib/kmxgit/user_manager.ex
@@ -355,7 +355,7 @@ defmodule Kmxgit.UserManager do
def totp_init do
Repo.transaction fn ->
- Enum.each list_users().result, fn u ->
+ Enum.each list_all_users(), fn u ->
{:ok, _} = User.totp_changeset(u) |> Repo.update()
end
end