Skip to content

Commit 4e4019b

Browse files
committed
PasswordHasherOptions
1 parent 0c19b83 commit 4e4019b

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

src/Microservices/Services.Identity/ClassifiedAds.Services.Identity.Api/IdentityModuleServiceCollectionExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ private static void ConfigureOptions(IServiceCollection services)
112112

113113
services.Configure<PasswordHasherOptions>(option =>
114114
{
115-
option.IterationCount = 10000;
115+
// option.IterationCount = 10000;
116+
// option.CompatibilityMode = PasswordHasherCompatibilityMode.IdentityV2;
116117
});
117118

118119
services.AddAuthorizationPolicies(Assembly.GetExecutingAssembly());

src/ModularMonolith/ClassifiedAds.Modules.Identity/IdentityModuleServiceCollectionExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,8 @@ private static void ConfigureOptions(IServiceCollection services)
128128

129129
services.Configure<PasswordHasherOptions>(option =>
130130
{
131-
option.IterationCount = 10000;
131+
// option.IterationCount = 10000;
132+
// option.CompatibilityMode = PasswordHasherCompatibilityMode.IdentityV2;
132133
});
133134

134135
services.AddAuthorizationPolicies(Assembly.GetExecutingAssembly());

src/Monolith/ClassifiedAds.Infrastructure/Identity/IdentityServiceCollectionExtensions.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ private static void ConfigureOptions(IServiceCollection services)
8282

8383
services.Configure<PasswordHasherOptions>(option =>
8484
{
85-
option.IterationCount = 10000;
85+
// option.IterationCount = 10000;
86+
// option.CompatibilityMode = PasswordHasherCompatibilityMode.IdentityV2;
8687
});
8788
}
8889
}

0 commit comments

Comments
 (0)