Hi Dear
I want to change my password policies.
Ex: Minimum of password length must be 6
I tried this but it doesn't work for me
`services.AddAbpIdentity
{
options.Password.RequireDigit = true;
options.Password.RequiredLength = 6;
options.Password.RequireNonAlphanumeric = false;
options.Password.RequireUppercase = false;
options.Password.RequireLowercase = false;
})`
How can I fix this issue?
thanks a lot
hi you need to use these settings below.
(AbpZeroSettingNames.UserManagement.PasswordComplexity.*)
https://github.com/aspnetboilerplate/aspnetboilerplate/blob/e0ded5d8702f389aa1f5947d3446f16aec845287/src/Abp.Zero.Common/Zero/Configuration/AbpZeroSettingProvider.cs#L9-L121
For details on the settings, please refer to: https://aspnetboilerplate.com/Pages/Documents/Setting-Management
Tnx it works.
But is not better we can configure these with IdentidOptions?
The settings are used to support multi-tenancy, each tenant can configure password complexity, etc.
Most helpful comment
The settings are used to support multi-tenancy, each tenant can configure password complexity, etc.