AccountController.lookup: skip auth
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
0dd1caa841
commit
1657db656c
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in a new issue