...
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user