diff options
author | rinpatch <rinpatch@sdf.org> | 2020-03-13 18:58:52 +0000 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-03-13 18:58:52 +0000 |
commit | 38f796a5c6f526c84c8e0cc2e838c453dd70802b (patch) | |
tree | 5bba8823866abfc46bd129272f1a66c269b3785d | |
parent | 4db88242e52b00dc350b9a2ecaaea5b7ea7b21c6 (diff) | |
parent | 3ef2ff3e479e69653537e6bbcc92a29590cab971 (diff) | |
download | pleroma-38f796a5c6f526c84c8e0cc2e838c453dd70802b.tar.gz |
Merge branch 'feature/mastofe-admin-scope' into 'develop'
auth_controller.ex: Add admin scope to MastoFE
See merge request pleroma/pleroma!2256
-rw-r--r-- | lib/pleroma/web/mastodon_api/controllers/auth_controller.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/controllers/auth_controller.ex b/lib/pleroma/web/mastodon_api/controllers/auth_controller.ex index f165c9965..37b389382 100644 --- a/lib/pleroma/web/mastodon_api/controllers/auth_controller.ex +++ b/lib/pleroma/web/mastodon_api/controllers/auth_controller.ex @@ -86,6 +86,6 @@ defmodule Pleroma.Web.MastodonAPI.AuthController 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 |