pub fn validate_length(password: &str) -> Result<(), PasswordPolicyError>Expand description
Validate password length. Cheap, pure-rust check. Run before
check_pwned so weak local passwords don’t even hit the network.
pub fn validate_length(password: &str) -> Result<(), PasswordPolicyError>Validate password length. Cheap, pure-rust check. Run before
check_pwned so weak local passwords don’t even hit the network.