From 6dcaa986cda8c8bbca06df8030299d5901d31ceb Mon Sep 17 00:00:00 2001 From: Scott Brady Date: Tue, 19 May 2020 12:18:47 +0100 Subject: [PATCH] Removed unnecessary TODO and code duplication --- .../Install/InstallSteps/NewInstallStep.cs | 1 - .../Extensions/UmbracoBackOfficeServiceCollectionExtensions.cs | 1 - 2 files changed, 2 deletions(-) diff --git a/src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs b/src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs index fdc38d8836..a240eaf104 100644 --- a/src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs +++ b/src/Umbraco.Infrastructure/Install/InstallSteps/NewInstallStep.cs @@ -61,7 +61,6 @@ namespace Umbraco.Web.Install.InstallSteps _userService.Save(admin); - //TODO: This needs to be reintroduced, when users are compatible with ASP.NET Core Identity. var membershipUser = await _userManager.FindByIdAsync(Constants.Security.SuperUserId.ToString()); if (membershipUser == null) { diff --git a/src/Umbraco.Web.BackOffice/Extensions/UmbracoBackOfficeServiceCollectionExtensions.cs b/src/Umbraco.Web.BackOffice/Extensions/UmbracoBackOfficeServiceCollectionExtensions.cs index d31b0fb5b0..f3a9a528ae 100644 --- a/src/Umbraco.Web.BackOffice/Extensions/UmbracoBackOfficeServiceCollectionExtensions.cs +++ b/src/Umbraco.Web.BackOffice/Extensions/UmbracoBackOfficeServiceCollectionExtensions.cs @@ -24,7 +24,6 @@ namespace Umbraco.Extensions services.TryAddScoped(); - services.AddIdentityCore(); services.AddIdentityCore(options => { options.User.RequireUniqueEmail = true;