bitwarden_core::auth::password::validate

Function validate_password

Source
pub(crate) fn validate_password(
    client: &Client,
    password: String,
    password_hash: String,
) -> Result<bool, Error>
Expand description

Validate if the provided password matches the password hash stored in the client.