chore (backend-rs): fix doc link
This commit is contained in:
parent
308ecec341
commit
b6c16b4e29
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ use argon2::{
|
|||
Argon2,
|
||||
};
|
||||
|
||||
/// Hashes the given password using [Argon2] algorithm.
|
||||
/// Hashes the given password using [argon2] algorithm.
|
||||
#[crate::export]
|
||||
pub fn hash_password(password: &str) -> Result<String, password_hash::errors::Error> {
|
||||
let salt = SaltString::generate(&mut OsRng);
|
||||
|
|
Loading…
Reference in a new issue