Don't log the user password
This commit is contained in:
parent
35f71aa09f
commit
b99ab34182
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue