Files
Umbraco-CMS/src/Umbraco.Core/Configuration/Models/MemberPasswordConfigurationSettings.cs

20 lines
635 B
C#

namespace Umbraco.Core.Configuration.Models
{
public class MemberPasswordConfigurationSettings : IPasswordConfiguration
{
public int RequiredLength { get; set; } = 10;
public bool RequireNonLetterOrDigit { get; set; } = false;
public bool RequireDigit { get; set; } = false;
public bool RequireLowercase { get; set; } = false;
public bool RequireUppercase { get; set; } = false;
public string HashAlgorithmType { get; set; } = Constants.Security.AspNetUmbraco8PasswordHashAlgorithmName;
public int MaxFailedAccessAttemptsBeforeLockout { get; set; } = 5;
}
}