diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-02-20 14:05:02 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2019-02-20 14:05:02 +0300 |
commit | 3ad91ec3c165a1db853390c75f09c8618d08deae (patch) | |
tree | 7802155418911620f814f185408e30f7e7dde2f6 /lib | |
parent | 337367d764dda8947eb0369f31da641c045dd3b0 (diff) | |
download | pleroma-3ad91ec3c165a1db853390c75f09c8618d08deae.tar.gz |
[#468] Adjusted scope restriction for MastodonAPIController#index.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/router.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/router.ex b/lib/pleroma/web/router.ex index 3692e13e3..421fb075a 100644 --- a/lib/pleroma/web/router.ex +++ b/lib/pleroma/web/router.ex @@ -582,7 +582,7 @@ defmodule Pleroma.Web.Router do delete("/auth/sign_out", MastodonAPIController, :logout) scope [] do - pipe_through(:oauth_read) + pipe_through(:oauth_read_or_unauthenticated) get("/web/*path", MastodonAPIController, :index) end end |