Skip to content

Commit

Permalink
Added more special chars to regex
Browse files Browse the repository at this point in the history
Added more special chars to password complexity regex
  • Loading branch information
skavanagh committed Oct 30, 2018
1 parent 3bb7a0d commit a799de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/EC2BoxConfig.properties
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ useEC2PvtDNS=false
#Use private IP for instances
useEC2PvtIP=false
#Regular expression to enforce password policy
passwordComplexityRegEx=((?=.*\\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*()+=]).{8\,20})
passwordComplexityRegEx=((?=.*\\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*()_=\\[\\]{};':"\\\\|\,.<>\\/?+-]).{8\,20})
#Password complexity error message
passwordComplexityMsg=Passwords must be 8 to 20 characters\, contain one digit\, one lowercase\, one uppercase\, and one special character
#HTTP header to identify client IP Address - 'X-FORWARDED-FOR'
Expand Down

0 comments on commit a799de8

Please sign in to comment.