Redirect not logged-in users to the MastoFE login page on private instances
This commit is contained in:
parent
1f7c8d9615
commit
c0e258cf21
3 changed files with 17 additions and 1 deletions
|
|
@ -698,7 +698,7 @@ defmodule Pleroma.Web.Router do
|
|||
post("/auth/password", MastodonAPIController, :password_reset)
|
||||
|
||||
scope [] do
|
||||
pipe_through(:oauth_read_or_public)
|
||||
pipe_through(:oauth_read)
|
||||
get("/web/*path", MastodonAPIController, :index)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue