oauth: support either name or username parameter with grant_type=password
[akkoma] / lib / pleroma / web / router.ex
index ee6a373d3ed27b1222b7d20817d74c0b9266ae04..0e6369147652982072500b8e4c39d6ff40cd178a 100644 (file)
@@ -41,7 +41,7 @@ defmodule Pleroma.Web.Router do
   end
 
   pipeline :well_known do
-    plug(:accepts, ["xml", "xrd+xml", "json", "jrd+json"])
+    plug(:accepts, ["json", "jrd+json", "xml", "xml+xrd"])
   end
 
   pipeline :config do