Ensures that all back office controllers are authenticated under the back office scheme

This commit is contained in:
Shannon
2020-11-27 13:32:41 +11:00
parent 7d143ec240
commit 313a2e6f7c
13 changed files with 74 additions and 24 deletions

View File

@@ -8,8 +8,7 @@ using Umbraco.Web.PublishedCache;
namespace Umbraco.Web.BackOffice.Controllers
{
[PluginController(Constants.Web.Mvc.BackOfficeApiArea)]
[IsBackOffice]
[PluginController(Constants.Web.Mvc.BackOfficeApiArea)]
public class PublishedSnapshotCacheStatusController : UmbracoAuthorizedApiController
{
private readonly IPublishedSnapshotService _publishedSnapshotService;