X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fplugs%2Fauthentication_plug.ex;h=90bd07b911bcca4dcb36872120b500fafcc0f562;hb=e4de0ddc77bceb0bbaad6fd25b327c3af53f198c;hp=76a4710c18f6c27416e3d62bc14c4650c7242725;hpb=e32dbfc9a5477830dba7bf3e99621161e4454a29;p=akkoma diff --git a/lib/pleroma/plugs/authentication_plug.ex b/lib/pleroma/plugs/authentication_plug.ex index 76a4710c1..90bd07b91 100644 --- a/lib/pleroma/plugs/authentication_plug.ex +++ b/lib/pleroma/plugs/authentication_plug.ex @@ -22,7 +22,7 @@ defmodule Pleroma.Plugs.AuthenticationPlug do end defp verify(user, password) do - if Comeonin.Pbkdf2.checkpw(password, user[:password_hash]) do + if Comeonin.Pbkdf2.checkpw(password, user.password_hash) do {:ok, user} else :error