This commit is contained in:
thepra committed 2023-02-19 00:43:43 +01:00
1 parent 9719a0c0fd
commit 1e66851113
146 files changed
+738 -382

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
namespace PrivaPub.ClientModels
{
public static class Constants
{
public const int MaxAvatarNameLength = 32;
public const int MaxAvatarBiographyLength = 5_000;
public const int MinPasswordLength = 7;
public const int MaxPasswordLength = 1025;
public const int GroupInvitationLength = 64;
public const string PasswordRegex = @"^(?=.*)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).*$";
}
}