From b99ab3418269dbfe4de5c891e6182921a2ebea3d Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Sun, 2 Aug 2020 18:38:13 -0400 Subject: [PATCH] Don't log the user password --- lib/wiki/accounts.ex | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/wiki/accounts.ex b/lib/wiki/accounts.ex index 2702300..581dc9e 100644 --- a/lib/wiki/accounts.ex +++ b/lib/wiki/accounts.ex @@ -352,10 +352,7 @@ defmodule Wiki.Accounts do def generate_content_encryption_key(%User{content_encryption_key_salt: salt}, %{ "password" => password }) do - IO.puts("password: #{inspect(password)}") - Argon2.Base.hash_password(password, salt, format: :raw_hash, hashlen: 32) - |> IO.inspect() end def generate_content_encryption_key(_user, _params) do