Merge branch 'develop' into 'remove-twitter-api'
[akkoma] / lib / pleroma / web / pleroma_api / controllers / mascot_controller.ex
index d9c1c863622e80b41e764e81e6e53807b0dc9a0a..d4e0d8b7cc00359fb2fd75a1ecfadf23d9042e18 100644 (file)
@@ -12,8 +12,6 @@ defmodule Pleroma.Web.PleromaAPI.MascotController do
   plug(OAuthScopesPlug, %{scopes: ["read:accounts"]} when action == :show)
   plug(OAuthScopesPlug, %{scopes: ["write:accounts"]} when action != :show)
 
-  plug(Pleroma.Plugs.EnsurePublicOrAuthenticatedPlug)
-
   @doc "GET /api/v1/pleroma/mascot"
   def show(%{assigns: %{user: user}} = conn, _params) do
     json(conn, User.get_mascot(user))