Passwords must be at least 4 characters long but no more than 10 and have one capital letter and one number.