0
manuel42 created
- ABP Framework version: 5.2.2
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace: None
- Steps to reproduce the issue:" Start the DBMigrator and a add a user with password length 5 signs
Hello, I have tried to change the default password settings.
In my SettingDefinitionProvider class I have added the SettingsDefiniton
context
.Add(
new SettingDefinition("Abp.Identity.Password.RequiredLength"),
new SettingDefinition("Abp.Identity.Password.RequiredUniqueChars"),
new SettingDefinition("Abp.Identity.Password.RequireNonAlphanumeric"),
new SettingDefinition("Abp.Identity.Password.RequireLowercase"),
new SettingDefinition("Abp.Identity.Password.RequireUppercase"),
new SettingDefinition("Abp.Identity.Password.RequireDigit")
);
And in my appsettings.json I have tried to set the values
"Settings": {
"Abp.Identity.Password.RequiredLength": "5",
"Abp.Identity.Password.RequiredUniqueChars": "0",
"Abp.Identity.Password.RequireNonAlphanumeric": "false",
"Abp.Identity.Password.RequireLowercase": "false",
"Abp.Identity.Password.RequireUppercase": "false",
"Abp.Identity.Password.RequireDigit": "true"
}
But it doesnt work the default vaules are the same. What I am doing wrong or what should I do ?
1 Answer(s)
-
0