diff options
author | Lain Soykaf <lain@lain.com> | 2021-01-14 15:06:16 +0100 |
---|---|---|
committer | Lain Soykaf <lain@lain.com> | 2021-01-14 15:06:16 +0100 |
commit | 39f3683a06aea3d6aed85c611b0db0f6ea21052a (patch) | |
tree | 51277de69d6a9fe99a664c9d47f2e41bbb670611 /lib/pleroma/user.ex | |
parent | 87a31c5c9b903517ec0317d2a331be36f2ea5051 (diff) | |
download | pleroma-39f3683a06aea3d6aed85c611b0db0f6ea21052a.tar.gz |
Pbkdf2: Use it everywhere.
Diffstat (limited to 'lib/pleroma/user.ex')
-rw-r--r-- | lib/pleroma/user.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/user.ex b/lib/pleroma/user.ex index 04e6ffd51..6a81adfd6 100644 --- a/lib/pleroma/user.ex +++ b/lib/pleroma/user.ex @@ -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 |