mirror of
https://github.com/typemill/typemill.git
synced 2025-08-05 21:57:31 +02:00
resolve content conflict
This commit is contained in:
@@ -263,7 +263,7 @@ class Validation
|
||||
$v = new Validator($params);
|
||||
$v->rule('required', ['username', 'password'])->message("Required");
|
||||
$v->rule('alphaNum', 'username')->message("Invalid characters");
|
||||
$v->rule('lengthBetween', 'password', 5, 20)->message("Length between 5 - 20");
|
||||
$v->rule('lengthBetween', 'password', 5, 40)->message("Length between 5 - 40");
|
||||
$v->rule('lengthBetween', 'username', 3, 20)->message("Length between 3 - 20");
|
||||
|
||||
if($v->validate())
|
||||
@@ -914,4 +914,4 @@ class Validation
|
||||
|
||||
return $output;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user