projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
337367d
)
[#468] Adjusted scope restriction for MastodonAPIController#index.
author
Ivan Tashkinov
<ivantashkinov@gmail.com>
Wed, 20 Feb 2019 11:05:02 +0000
(14:05 +0300)
committer
Ivan Tashkinov
<ivantashkinov@gmail.com>
Wed, 20 Feb 2019 11:05:02 +0000
(14:05 +0300)
lib/pleroma/web/router.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/router.ex
b/lib/pleroma/web/router.ex
index 3692e13e3ea7f57bfa07bd5ec95b4801253ac156..421fb075a4d429a7502cdd54874eb80b2855ccc6 100644
(file)
--- 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