Commit 38f796a5 authored by rinpatch's avatar rinpatch

Merge branch 'feature/mastofe-admin-scope' into 'develop'

auth_controller.ex: Add admin scope to MastoFE

See merge request pleroma/pleroma!2256
parents 4db88242 3ef2ff3e
......@@ -86,6 +86,6 @@ defp local_mastodon_root_path(conn) do
@spec get_or_make_app() :: {:ok, App.t()} | {:error, Ecto.Changeset.t()}
defp get_or_make_app do
%{client_name: @local_mastodon_name, redirect_uris: "."}
|> App.get_or_make(["read", "write", "follow", "push"])
|> App.get_or_make(["read", "write", "follow", "push", "admin"])
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment