Merge remote-tracking branch 'remotes/upstream/develop' into twitter_oauth
authorIvan Tashkinov <ivant.business@gmail.com>
Tue, 2 Apr 2019 11:05:34 +0000 (14:05 +0300)
committerIvan Tashkinov <ivant.business@gmail.com>
Tue, 2 Apr 2019 11:05:34 +0000 (14:05 +0300)
# Conflicts:
# lib/pleroma/web/oauth/oauth_controller.ex
# lib/pleroma/web/router.ex

1  2 
lib/pleroma/user.ex
lib/pleroma/web/oauth/oauth_controller.ex
lib/pleroma/web/router.ex

Simple merge
index b09d1e31c0260226c63f3b10708441d6435e20f4,605a327fc382960dee697305a1648244b4a1f66d..5101e1b18631d74ea8d6427c8c049430a29209c3
@@@ -5,11 -5,11 +5,16 @@@
  defmodule Pleroma.Web.Router do
    use Pleroma.Web, :router
  
 +  pipeline :browser do
 +    plug(:accepts, ["html"])
 +    plug(:fetch_session)
 +  end
 +
+   pipeline :oauth do
+     plug(:fetch_session)
+     plug(Pleroma.Plugs.OAuthPlug)
+   end
    pipeline :api do
      plug(:accepts, ["json"])
      plug(:fetch_session)