From 1665b3f3e73e3d7346ac67063bb651b090000669 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Sun, 7 May 2017 13:13:24 -0600 Subject: [PATCH] Make worst password search case-insensitive --- lib/worst_passwords.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {