diff --git a/src/Audit/User1.php b/src/Audit/User1.php index 9745833..9b63085 100644 --- a/src/Audit/User1.php +++ b/src/Audit/User1.php @@ -14,7 +14,7 @@ * description = "The email the user account should be.", * ) * @Param( - * name = "blacklist", + * name = "denylist", * description = "List of usernames that are not acceptable.", * ) * @Param( @@ -38,7 +38,7 @@ public function audit(Sandbox $sandbox) { $fixups = []; // Username. - $pattern = $sandbox->getParameter('blacklist'); + $pattern = $sandbox->getParameter('denylist'); if (preg_match("#${pattern}#i", $user->name)) { $errors[] = "Username '$user->name' is too easy to guess."; }