aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/user.ex
diff options
context:
space:
mode:
authorLain Soykaf <lain@lain.com>2021-01-14 15:06:16 +0100
committerLain Soykaf <lain@lain.com>2021-01-14 15:06:16 +0100
commit39f3683a06aea3d6aed85c611b0db0f6ea21052a (patch)
tree51277de69d6a9fe99a664c9d47f2e41bbb670611 /lib/pleroma/user.ex
parent87a31c5c9b903517ec0317d2a331be36f2ea5051 (diff)
downloadpleroma-39f3683a06aea3d6aed85c611b0db0f6ea21052a.tar.gz
Pbkdf2: Use it everywhere.
Diffstat (limited to 'lib/pleroma/user.ex')
-rw-r--r--lib/pleroma/user.ex2
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