EnsurePublicOrAuthenticatedPlug module name
[akkoma] / lib / pleroma / web / plugs / authentication_plug.ex
index 057ea42f152f5e098a05708ff5d3b8b3571a576f..a8a4a8380ec42e5d685e8215be03821bdeeeabc4 100644 (file)
@@ -3,7 +3,6 @@
 # SPDX-License-Identifier: AGPL-3.0-only
 
 defmodule Pleroma.Plugs.AuthenticationPlug do
-  alias Pleroma.Plugs.OAuthScopesPlug
   alias Pleroma.User
 
   import Plug.Conn
@@ -65,7 +64,7 @@ defmodule Pleroma.Plugs.AuthenticationPlug do
 
       conn
       |> assign(:user, auth_user)
-      |> OAuthScopesPlug.skip_plug()
+      |> Pleroma.Web.Plugs.OAuthScopesPlug.skip_plug()
     else
       conn
     end