summaryrefslogtreecommitdiff
path: root/test/web/auth/totp_authenticator_test.exs
diff options
context:
space:
mode:
authorRoman Chvanikov <chvanikoff@pm.me>2020-05-13 19:56:40 +0300
committerRoman Chvanikov <chvanikoff@pm.me>2020-05-13 19:56:40 +0300
commit8a383707ae143ba47fa1ba68da20bc6bec425126 (patch)
treef05d4fd3ea7b52de7a37a2e625de18ba6af14b90 /test/web/auth/totp_authenticator_test.exs
parentf3f8ed9e19f1ab8863141ba8b31773c54f4771fb (diff)
parentda550be066a15108ceef7874c3b2549c049a7f88 (diff)
downloadpleroma-8a383707ae143ba47fa1ba68da20bc6bec425126.tar.gz
pleroma-8a383707ae143ba47fa1ba68da20bc6bec425126.zip
Merge develop
Diffstat (limited to 'test/web/auth/totp_authenticator_test.exs')
-rw-r--r--test/web/auth/totp_authenticator_test.exs2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/web/auth/totp_authenticator_test.exs b/test/web/auth/totp_authenticator_test.exs
index e08069490..e502e0ae8 100644
--- a/test/web/auth/totp_authenticator_test.exs
+++ b/test/web/auth/totp_authenticator_test.exs
@@ -34,7 +34,7 @@ defmodule Pleroma.Web.Auth.TOTPAuthenticatorTest do
hashed_codes =
backup_codes
- |> Enum.map(&Comeonin.Pbkdf2.hashpwsalt(&1))
+ |> Enum.map(&Pbkdf2.hash_pwd_salt(&1))
user =
insert(:user,