This commit is contained in:
mmrbnjd
2025-07-24 23:18:11 +03:30
parent 4977be215c
commit d4c4bb2ffd
20 changed files with 2285 additions and 65 deletions

View File

@@ -6,7 +6,7 @@ namespace Common.Validation
public static bool CheckLawPassword(this string password, ref List<string> errors)
{
bool ret = true;
if (password.Length != 6)
if (password.Length < 6)
{
errors.Add("کلمه عبور باید حداقل 6 گاراکتر باشد");
ret = false;