From 52035c043d3f81a30ade547719e3328a4c0c7019 Mon Sep 17 00:00:00 2001 From: Bjarke Berg Date: Mon, 18 May 2020 12:40:01 +0200 Subject: [PATCH] https://dev.azure.com/umbraco/D-Team%20Tracker/_workitems/edit/6586 - Migrated UmbracoWebApiRequireHttpsFilter --- .../Controllers/UmbracoAuthorizedApiController.cs | 8 ++++---- src/Umbraco.Web/WebApi/UmbracoAuthorizedApiController.cs | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Umbraco.Web.BackOffice/Controllers/UmbracoAuthorizedApiController.cs b/src/Umbraco.Web.BackOffice/Controllers/UmbracoAuthorizedApiController.cs index 071680b325..c3e1a71b86 100644 --- a/src/Umbraco.Web.BackOffice/Controllers/UmbracoAuthorizedApiController.cs +++ b/src/Umbraco.Web.BackOffice/Controllers/UmbracoAuthorizedApiController.cs @@ -14,13 +14,13 @@ namespace Umbraco.Web.BackOffice.Controllers /// before their timeout expires. /// [IsBackOffice] - [UmbracoUserTimeoutFilter] + //[UmbracoUserTimeoutFilter] //TODO reintroduce [UmbracoAuthorize] [DisableBrowserCache] [UmbracoWebApiRequireHttps] - [CheckIfUserTicketDataIsStale] - [UnhandedExceptionLoggerConfiguration] - [EnableDetailedErrors] + //[CheckIfUserTicketDataIsStale] //TODO reintroduce + //[UnhandedExceptionLoggerConfiguration] //TODO reintroduce + //[EnableDetailedErrors] //TODO reintroduce public abstract class UmbracoAuthorizedApiController : UmbracoApiController { diff --git a/src/Umbraco.Web/WebApi/UmbracoAuthorizedApiController.cs b/src/Umbraco.Web/WebApi/UmbracoAuthorizedApiController.cs index 2691063f19..42e0fe2940 100644 --- a/src/Umbraco.Web/WebApi/UmbracoAuthorizedApiController.cs +++ b/src/Umbraco.Web/WebApi/UmbracoAuthorizedApiController.cs @@ -24,7 +24,7 @@ namespace Umbraco.Web.WebApi [UmbracoUserTimeoutFilter] [UmbracoAuthorize] [DisableBrowserCache] - [UmbracoWebApiRequireHttps] + // [UmbracoWebApiRequireHttps] [CheckIfUserTicketDataIsStale] [UnhandedExceptionLoggerConfiguration] [EnableDetailedErrors]