Updated IdentityMapDefinition.cs

Signed-off-by: Nikolaj Geisle <niko737@edu.ucl.dk>
This commit is contained in:
Nikolaj Geisle
2021-10-04 10:44:23 +02:00
parent c42356ef65
commit 44a7c0ce88
3 changed files with 4 additions and 4 deletions

View File

@@ -17,13 +17,13 @@ namespace Umbraco.Cms.Core.Security
{
private readonly ILocalizedTextService _textService;
private readonly IEntityService _entityService;
private GlobalSettings _globalSettings;
private readonly GlobalSettings _globalSettings;
private readonly AppCaches _appCaches;
public IdentityMapDefinition(
ILocalizedTextService textService,
IEntityService entityService,
IOptionsSnapshot<GlobalSettings> globalSettings,
IOptions<GlobalSettings> globalSettings,
AppCaches appCaches)
{
_textService = textService;

View File

@@ -35,7 +35,7 @@ namespace Umbraco.Cms.Core.Security
IdentityErrorDescriber errors,
IServiceProvider services,
ILogger<UserManager<TUser>> logger,
IOptionsSnapshot<TPasswordConfig> passwordConfiguration)
IOptions<TPasswordConfig> passwordConfiguration)
: base(store, optionsAccessor, passwordHasher, userValidators, passwordValidators, new NoopLookupNormalizer(), errors, services, logger)
{
IpResolver = ipResolver ?? throw new ArgumentNullException(nameof(ipResolver));

View File

@@ -34,7 +34,7 @@ namespace Umbraco.Cms.Web.Common.Security
IServiceProvider services,
IHttpContextAccessor httpContextAccessor,
ILogger<UserManager<BackOfficeIdentityUser>> logger,
IOptionsSnapshot<UserPasswordConfigurationSettings> passwordConfiguration,
IOptions<UserPasswordConfigurationSettings> passwordConfiguration,
IEventAggregator eventAggregator,
IBackOfficeUserPasswordChecker backOfficeUserPasswordChecker)
: base(ipResolver, store, optionsAccessor, passwordHasher, userValidators, passwordValidators, errors, services, logger, passwordConfiguration)