account
Никита Поздняков 2 years ago committed by Viktor Baranov
parent 183d778f80
commit 2ee642d6ba
  1. 2
      apps/block_scout_web/lib/block_scout_web/api_router.ex

@ -23,6 +23,7 @@ defmodule BlockScoutWeb.ApiRouter do
# plug(Guardian.Plug.VerifyHeader, module: BlockScoutWeb.Guardian, error_handler: BlockScoutWeb.GuardianErrorHandler)
# plug(CheckAuth)
plug(:fetch_session)
plug(:protect_from_forgery)
end
pipeline :tags_api do
@ -33,6 +34,7 @@ defmodule BlockScoutWeb.ApiRouter do
# halt: false
# )
plug(:fetch_session)
plug(:protect_from_forgery)
end
alias BlockScoutWeb.Account.Api.V1.{TagsController, UserController}

Loading…
Cancel
Save