logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma
commit: 38f796a5c6f526c84c8e0cc2e838c453dd70802b
parent: 4db88242e52b00dc350b9a2ecaaea5b7ea7b21c6
Author: rinpatch <rinpatch@sdf.org>
Date:   Fri, 13 Mar 2020 18:58:52 +0000

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

auth_controller.ex: Add admin scope to MastoFE

See merge request pleroma/pleroma!2256

Diffstat:

Mlib/pleroma/web/mastodon_api/controllers/auth_controller.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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