Fix can set min repeat to 0 for password
This commit is contained in:
parent
a604fb9afb
commit
68a4ab87a2
@ -174,7 +174,7 @@ if ($action == 'maj_pattern')
|
|||||||
$explodePattern = explode(';', $pattern);
|
$explodePattern = explode(';', $pattern);
|
||||||
|
|
||||||
$patternInError = false;
|
$patternInError = false;
|
||||||
if($explodePattern[0] < 1 || $explodePattern[4] < 1){
|
if($explodePattern[0] < 1 || $explodePattern[4] < 0){
|
||||||
$patternInError = true;
|
$patternInError = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user