Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Dec 7, 2023
1 parent c44ebdf commit 37d6ef0
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions crates/bitwarden/src/auth/password.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
use schemars::JsonSchema;

use super::determine_password_hash;
use crate::{
client::{LoginMethod, UserLoginMethod},
crypto::HashPurpose,
error::{Error, Result},
Client,
};
use schemars::JsonSchema;

use super::determine_password_hash;

pub(super) fn password_strength(
_password: String,
Expand Down Expand Up @@ -77,9 +77,8 @@ mod tests {
async fn test_validate_password() {
use std::num::NonZeroU32;

use crate::client::{kdf::Kdf, Client, LoginMethod, UserLoginMethod};

use super::validate_password;
use crate::client::{kdf::Kdf, Client, LoginMethod, UserLoginMethod};

let mut client = Client::new(None);
client.set_login_method(LoginMethod::User(UserLoginMethod::Username {
Expand Down

0 comments on commit 37d6ef0

Please sign in to comment.