Removing OverrideAuthorization attribute and related

This commit is contained in:
Elitsa Marinovska
2020-12-08 15:37:53 +01:00
parent 54d1e9d5e0
commit 940084e342
6 changed files with 2 additions and 80 deletions

View File

@@ -30,7 +30,6 @@ namespace Umbraco.Extensions
public static IUmbracoBuilder AddBackOffice(this IUmbracoBuilder builder)
{
builder.Services.AddAntiforgery();
builder.Services.AddSingleton<IFilterProvider, OverrideAuthorizationFilterProvider>();
builder.Services
.AddAuthentication() // This just creates a builder, nothing more