Upgrade Comeonin to v5

https://github.com/riverrun/comeonin/blob/master/UPGRADE_v5.md
This commit is contained in:
Alex Gleason 2020-05-12 16:42:24 -05:00
commit b46811a074
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
22 changed files with 37 additions and 45 deletions

View file

@ -41,13 +41,13 @@ defmodule Pleroma.Web.MongooseIMController do
end
test "/check_password", %{conn: conn} do
user = insert(:user, password_hash: Comeonin.Pbkdf2.hashpwsalt("cool"))
user = insert(:user, password_hash: Pbkdf2.hash_pwd_salt("cool"))
_deactivated_user =
insert(:user,
nickname: "konata",
deactivated: true,
password_hash: Comeonin.Pbkdf2.hashpwsalt("cool")
password_hash: Pbkdf2.hash_pwd_salt("cool")
)
res =