From acda0b4783861e01714ce3c3de6d18a9c9c2f381 Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Wed, 22 Nov 2023 10:25:55 -0800 Subject: [PATCH] fix typo in passwd message --- panel/classes/Panel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/panel/classes/Panel.php b/panel/classes/Panel.php index 8bfa8e2..2d7d6a7 100644 --- a/panel/classes/Panel.php +++ b/panel/classes/Panel.php @@ -143,7 +143,7 @@ class Panel { if ($character_class < 3) { - $messages[] = "Passwords under 15 characters must contain characters from at least three of the following four groups: Lower Case Letters, Uppler Case Leters, Numbers, Puncuation/Special Characters. Passwords 15 or more characters long do not have any complexity requirements."; + $messages[] = "Passwords under 15 characters must contain characters from at least three of the following four groups: Lower Case Letters, Upper Case Leters, Numbers, Puncuation/Special Characters. Passwords 15 or more characters long do not have any complexity requirements."; } @@ -157,7 +157,7 @@ class Panel { if (!preg_match('/^[[:lower:][:upper:][:digit:][:punct:]]{8,}$/', $password)) { - $messages[] = "Password may only contain characters from these four groups: Lower Case Letters, Uppler Case Letters, Numbers, Puncuation/Special Characters."; + $messages[] = "Password may only contain characters from these four groups: Lower Case Letters, Upper Case Letters, Numbers, Puncuation/Special Characters."; }