Pbkdf2: Use it everywhere.
This commit is contained in:
parent
87a31c5c9b
commit
39f3683a06
21 changed files with 37 additions and 127 deletions
|
|
@ -2187,7 +2187,7 @@ defmodule Pleroma.User do
|
|||
defp put_password_hash(
|
||||
%Ecto.Changeset{valid?: true, changes: %{password: password}} = changeset
|
||||
) do
|
||||
change(changeset, password_hash: Pleroma.Password.hash_pwd_salt(password))
|
||||
change(changeset, password_hash: Pleroma.Password.Pbkdf2.hash_pwd_salt(password))
|
||||
end
|
||||
|
||||
defp put_password_hash(changeset), do: changeset
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue