From 8aa012056e49d2f9979b1571f8c2f59a1b967190 Mon Sep 17 00:00:00 2001 From: Mehdi <10160868+mbiuki@users.noreply.github.com> Date: Wed, 21 Aug 2024 21:26:55 -0700 Subject: [PATCH 1/2] Update portal.properties comment on the pw regex needs an update --- dotCMS/src/main/resources/portal.properties | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dotCMS/src/main/resources/portal.properties b/dotCMS/src/main/resources/portal.properties index 685dbf9a7c87..7cfbe9e3fc92 100644 --- a/dotCMS/src/main/resources/portal.properties +++ b/dotCMS/src/main/resources/portal.properties @@ -305,7 +305,14 @@ # Note that \ is replaced with \\ to work in Java. # - # This pattern ensures that passwords must have at least 6 characters and no white spaces. + # This pattern below ensures that passwords must have at least 8 characters and no white spaces. + # Only the specified characters are allowed: + # 1. Uppercase letters: A-Z + # 2. Lowercase letters: a-z + # 3. Digits: 0-9 + # 4. Special characters: ! # % + : = ? @ + # 5. No white spaces or other characters not included in the specified set. + # The entire password must consist exclusively of the allowed characters from the start (^) to the end ($) of the string. passwords.regexptoolkit.pattern=/^[!#%+1234567890:=?@ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz]{8,}$/ # This pattern ensures that passwords must have between 6 and 20 valid From 259565ec9d203c91ca4535b7546b72ecdac0a0f2 Mon Sep 17 00:00:00 2001 From: Mehdi <10160868+mbiuki@users.noreply.github.com> Date: Wed, 21 Aug 2024 21:31:30 -0700 Subject: [PATCH 2/2] Update portal.properties edit file