Pbkdf2.verify_pass --> AuthenticationPlug.checkpw
This commit is contained in:
parent
9cbf17d59f
commit
5b0f27d23d
4 changed files with 7 additions and 4 deletions
|
|
@ -41,7 +41,7 @@ defmodule Pleroma.Plugs.AuthenticationPlug do
|
|||
} = conn,
|
||||
_
|
||||
) do
|
||||
if Pbkdf2.verify_pass(password, password_hash) do
|
||||
if checkpw(password, password_hash) do
|
||||
conn
|
||||
|> assign(:user, auth_user)
|
||||
|> OAuthScopesPlug.skip_plug()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue