format
[akkoma] / lib / pleroma / web / mastodon_api / controllers / account_controller.ex
index 6d8fcd0263961e1724063ff88c71ac4f3887f327..a307807a93148c1f8199ad314de9d8e3230a3c67 100644 (file)
@@ -32,7 +32,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountController do
 
   plug(Pleroma.Web.ApiSpec.CastAndValidate)
 
-  plug(:skip_auth when action == :create)
+  plug(:skip_auth when action in [:create, :lookup])
 
   plug(:skip_public_check when action in [:show, :statuses])