plug(
OAuthScopesPlug,
%{scopes: ["read"], admin: true}
- when action in [:config_show, :migrate_to_db, :migrate_from_db, :list_log]
+ when action in [:config_show, :migrate_from_db, :list_log]
)
plug(
end
defp configurable_from_database(conn) do
- if Pleroma.Config.get([:configurable_from_database]) do
+ if Pleroma.Config.get(:configurable_from_database) do
:ok
else
errors(