[#468] Adjusted scope restriction for MastodonAPIController#index.

stable
Ivan Tashkinov 6 years ago
parent 337367d764
commit 3ad91ec3c1

@ -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

Loading…
Cancel
Save