diff --git a/lib/worst_passwords.php b/lib/worst_passwords.php index 049e42f..c22be27 100644 --- a/lib/worst_passwords.php +++ b/lib/worst_passwords.php @@ -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 {