diff options
Diffstat (limited to 'src/login/static_provider.rs')
-rw-r--r-- | src/login/static_provider.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/static_provider.rs b/src/login/static_provider.rs index 74a6c14..fb8ec68 100644 --- a/src/login/static_provider.rs +++ b/src/login/static_provider.rs @@ -86,7 +86,7 @@ pub fn hash_password(password: &str) -> Result<String> { pub fn verify_password(password: &str, hash: &str) -> Result<bool> { use argon2::{ - password_hash::{rand_core::OsRng, PasswordHash, PasswordVerifier}, + password_hash::{PasswordHash, PasswordVerifier}, Argon2, }; let parsed_hash = |