mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
add password validation regex (#12976)
This commit is contained in:
@@ -28,7 +28,10 @@
|
||||
"light": "./images/sqldb_edge.svg",
|
||||
"dark": "./images/sqldb_edge_inverse.svg"
|
||||
},
|
||||
"tags": ["Hybrid", "SQL Server"],
|
||||
"tags": [
|
||||
"Hybrid",
|
||||
"SQL Server"
|
||||
],
|
||||
"options": [
|
||||
{
|
||||
"name": "type",
|
||||
@@ -338,7 +341,10 @@
|
||||
"type": "password",
|
||||
"confirmationRequired": true,
|
||||
"confirmationLabel": "%vm_password_confirm%",
|
||||
"required": true
|
||||
"required": true,
|
||||
"textValidationRequired": true,
|
||||
"textValidationRegex": "^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[\\W_])[A-Za-z\\d\\W_]{12,123}$",
|
||||
"textValidationDescription": "%vm_password_validation_error_message%"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
"vm_admin": "VM admin username",
|
||||
"vm_password": "VM admin password",
|
||||
"vm_password_confirm": "Confirm VM admin password",
|
||||
"vm_password_validation_error_message": "VM password must be 12 to 123 characters in length and consists of upper case characters, lower case characters, numbers and special characters.",
|
||||
"package_path": "Package file",
|
||||
"package_path_description": "Path of the SQL Server package file(dacpac, bacpac) or compressed package file.",
|
||||
"azure-info-section-title": "Azure information",
|
||||
|
||||
Reference in New Issue
Block a user