Skip to content

Commit

Permalink
Update portal.properties (#29702)
Browse files Browse the repository at this point in the history
comment on the pw regex needs an update

### Proposed Changes
* change 1
* change 2

### Checklist
- [ ] Tests
- [ ] Translations
- [ ] Security Implications Contemplated (add notes if applicable)

### Additional Info
** any additional useful context or info **

### Screenshots
Original             |  Updated
:-------------------------:|:-------------------------:
** original screenshot **  |  ** updated screenshot **

---------

Co-authored-by: erickgonzalez <[email protected]>
  • Loading branch information
mbiuki and erickgonzalez authored Aug 30, 2024
1 parent ba87677 commit f9eb9a3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion dotCMS/src/main/resources/portal.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f9eb9a3

Please sign in to comment.