Add custom static validation for password