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

@ -11,7 +11,7 @@ defmodule Pleroma.Web.Auth.BasicAuthTest do
conn: conn
} do
user = insert(:user)
assert Comeonin.Pbkdf2.checkpw("test", user.password_hash)
assert Pbkdf2.verify_pass("test", user.password_hash)
basic_auth_contents =
(URI.encode_www_form(user.nickname) <> ":" <> URI.encode_www_form("test"))