Make worst password search case-insensitive
This commit is contained in:
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…
x
Reference in New Issue
Block a user