ability to set and reset avatar, profile banner and backgroud in Mastodon API
[akkoma] / lib / pleroma / web / oauth / fallback_controller.ex
index afaa0024283ab8460293440f1644fc96df35cb2d..e3984f0099b6d54d2504f7fe1304032af0eb1205 100644 (file)
@@ -24,6 +24,6 @@ defmodule Pleroma.Web.OAuth.FallbackController do
     conn
     |> put_status(:unauthorized)
     |> put_flash(:error, "Invalid Username/Password")
-    |> OAuthController.authorize(conn.params["authorization"])
+    |> OAuthController.authorize(conn.params)
   end
 end