From 338f0d96c3552405b33b157e024002f4cfe1a2d6 Mon Sep 17 00:00:00 2001 From: David Toews Date: Wed, 22 Jan 2025 16:26:52 -0700 Subject: [PATCH] DOC Updates example to use current code --- src/Security/PasswordValidator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Security/PasswordValidator.php b/src/Security/PasswordValidator.php index 6e54b79c573..f331a963afd 100644 --- a/src/Security/PasswordValidator.php +++ b/src/Security/PasswordValidator.php @@ -14,7 +14,7 @@ * * $pwdVal = new PasswordValidator(); * $pwdValidator->setMinLength(7); - * $pwdValidator->checkHistoricalPasswords(6); + * $pwdValidator->setHistoricCount(6); * $pwdValidator->setMinTestScore(3); * $pwdValidator->setTestNames(array("lowercase", "uppercase", "digits", "punctuation")); *