Redirect not logged-in users to the MastoFE login page on private instances
[akkoma] / lib / pleroma / web / router.ex
index 4e1ab6c331ca0ce85f375d3c7116442f3ff2a20f..0689d69fb3da49a39528b69f33d64d790845ea9c 100644 (file)
@@ -698,7 +698,7 @@ defmodule Pleroma.Web.Router do
     post("/auth/password", MastodonAPIController, :password_reset)
 
     scope [] do
-      pipe_through(:oauth_read_or_public)
+      pipe_through(:oauth_read)
       get("/web/*path", MastodonAPIController, :index)
     end
   end