Make worst password search case-insensitive

V2_Rewrite
Skylar Ittner il y a 7 ans
Parent 1b334ff894
révision 1665b3f3e7

@ -513,7 +513,7 @@ function checkWorst500List($search) {
"albert"
];
$index = array_search($search, $worst_password_list);
$index = array_search(strtolower($search), $worst_password_list);
if ($index === FALSE) {
return false;
} else {

Chargement…
Annuler
Enregistrer