SocialPub/PrivaPub.ClientModels/Constants.cs

13 lines
391 B
C#
Raw Normal View History

2023-02-19 00:43:43 +01:00
namespace PrivaPub.ClientModels
2023-02-18 08:52:17 +01:00
{
public static class Constants
{
2023-02-19 00:43:43 +01:00
public const int MaxAvatarNameLength = 32;
public const int MaxAvatarBiographyLength = 5_000;
2023-02-18 08:52:17 +01:00
public const int MinPasswordLength = 7;
public const int MaxPasswordLength = 1025;
public const int GroupInvitationLength = 64;
public const string PasswordRegex = @"^(?=.*)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).*$";
}
}