No need to register controllers into container, DefaultControllerActivator works fine.

This commit is contained in:
Paul Johnson
2020-11-11 19:15:30 +00:00
parent 8775770d76
commit 7561bb5244
9 changed files with 7 additions and 104 deletions

View File

@@ -52,6 +52,9 @@ namespace Umbraco.Extensions
services.TryAddScoped<IIpResolver, AspNetCoreIpResolver>();
// TODO: MSDI - This needs some work, e.g. additional registrations / not registering as UserManager<BackOfficeIdentityUser>
// if we want container validation back on.
services.BuildUmbracoBackOfficeIdentity()
.AddDefaultTokenProviders()
.AddUserStore<BackOfficeUserStore>()