Restore the constant class definition of the Identity module.

pull/4479/head
maliming 5 years ago
parent 25bfa7c9e0
commit fc5836dd21

@ -2,9 +2,9 @@
{
public class IdentityClaimTypeConsts
{
public const int MaxNameLength = 256;
public const int MaxRegexLength = 512;
public const int MaxRegexDescriptionLength = 128;
public const int MaxDescriptionLength = 256;
public static int MaxNameLength { get; set; } = 256;
public static int MaxRegexLength { get; set; } = 512;
public static int MaxRegexDescriptionLength { get; set; } = 128;
public static int MaxDescriptionLength { get; set; } = 256;
}
}

@ -2,7 +2,7 @@
{
public static class IdentityRoleConsts
{
public const int MaxNameLength = 256;
public const int MaxNormalizedNameLength = MaxNameLength;
public static int MaxNameLength { get; set; } = 256;
public static int MaxNormalizedNameLength { get; set; } = 256;
}
}

@ -22,6 +22,6 @@ namespace Volo.Abp.Identity
public static int MaxPasswordHashLength { get; set; } = 256;
public const int MaxSecurityStampLength = 256;
public static int MaxSecurityStampLength { get; set; } = 256;
}
}

Loading…
Cancel
Save