0👍
changing “password” to Object solved the issue. Thanx Giovane for his comment.
"rules": {
"password": { "required": true, "regex": "/(?=.*\\d)(?=.*[A-Z])(?=.*[a-zA-Z]).{8,}/ }",
"old_password": "required"
}
Source:stackexchange.com
0👍
changing “password” to Object solved the issue. Thanx Giovane for his comment.
"rules": {
"password": { "required": true, "regex": "/(?=.*\\d)(?=.*[A-Z])(?=.*[a-zA-Z]).{8,}/ }",
"old_password": "required"
}