Use :restrict_unauthenticated testing for more granular control
This commit is contained in:
parent
549c895d80
commit
2011142ed9
3 changed files with 3 additions and 3 deletions
|
|
@ -38,7 +38,7 @@ defmodule Pleroma.Web.Feed.UserController do
|
|||
end
|
||||
|
||||
def feed(conn, params) do
|
||||
if Pleroma.Config.get!([:instance, :public]) do
|
||||
unless Pleroma.Config.restrict_unauthenticated_access?(:profiles, :local) do
|
||||
render_feed(conn, params)
|
||||
else
|
||||
errors(conn, {:error, :not_found})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue