Make worst password search case-insensitive

V2_Rewrite
Skylar Ittner 7 years ago
parent 1b334ff894
commit 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 {

Loading…
Cancel
Save