Don't make MediaProxy be a compile-dep of Router
[akkoma] / lib / pleroma / web / plugs / authentication_plug.ex
index f7a2a3ab7f39a8bd9c908976e5502b27c7b6e14d..8d58169cf61ebf2e15ac7bbabc6b81998822cfd3 100644 (file)
@@ -48,7 +48,7 @@ defmodule Pleroma.Web.Plugs.AuthenticationPlug do
   end
 
   def checkpw(password, "$pbkdf2" <> _ = password_hash) do
-    Pleroma.Password.verify_pass(password, password_hash)
+    Pleroma.Password.Pbkdf2.verify_pass(password, password_hash)
   end
 
   def checkpw(_password, _password_hash) do