Fix can set min repeat to 0 for password

This commit is contained in:
Laurent Destailleur 2019-10-07 12:57:24 +02:00
parent a604fb9afb
commit 68a4ab87a2

View File

@ -174,7 +174,7 @@ if ($action == 'maj_pattern')
$explodePattern = explode(';', $pattern);
$patternInError = false;
if($explodePattern[0] < 1 || $explodePattern[4] < 1){
if($explodePattern[0] < 1 || $explodePattern[4] < 0){
$patternInError = true;
}