schemas/changePassword.json in losant_rest-1.5.1 vs schemas/changePassword.json in losant_rest-1.5.2
- old
+ new
@@ -12,10 +12,11 @@
"maxLength": 2048
},
"newPassword": {
"type": "string",
"minLength": 8,
- "maxLength": 2048
+ "maxLength": 2048,
+ "pattern": "^(?=.*[A-Z])(?=.*[^A-z0-9])(?=.*[0-9])(?=.*[a-z]).{8,}$"
},
"invalidateExistingTokens": {
"type": "boolean"
}
},
\ No newline at end of file