Open git4rk opened 3 years ago
@git4rk @edburns As we just agreed in the Slack channel, let's use the same regex used in WebLogic administrator password:
{
"name": "wlsPassword",
"type": "Microsoft.Common.PasswordBox",
"label": {
"password": "Password for WebLogic Administrator",
"confirmPassword": "Confirm password"
},
"toolTip": "Password for WebLogic Administrator",
"constraints": {
"required": true,
"regex": "^(?=.*[A-Z])(?=.*[a-z])(?=.*\\d)[A-Za-z\\d]{12,}$",
"validationMessage": "The password must contain at least 12 characters, with at least 1 uppercase letter, 1 lowercase letter and 1 number, and special characters are not allowed."
},
"options": {
"hideConfirmation": false
},
"visible": true
}
As you can see, special characters are not allowed. So let's follow the same pattern to quickly fix the issue.
The plan of record is to fix it using the simple regex shown by @majguo in this comment but resolve it after MVP release.
$ ! _ /
the deploy/login failedPassword must be at least 12 characters long and not contain any of the following characters: !#$&*/?^