1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 defmodule Pleroma.Web.Plugs.ExpectAuthenticatedCheckPlug do
7 Marks `Pleroma.Web.Plugs.EnsureAuthenticatedPlug` as expected to be executed later in plug chain.
9 No-op plug which affects `Pleroma.Web` operation (is checked with `PlugHelper.plug_called?/2`).
12 use Pleroma.Web, :plug
14 def init(options), do: options
17 def perform(conn, _) do