mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-24 07:06:41 +03:00
Remove get_random_64()
Its uses are replaced by get_randm_bytes() or encode_random_bytes().
This commit is contained in:
1 parent
d0baa23f9a
commit
7445ee40f8
4 files changed
+3
-8
No files matched your search
@@ -93,7 +93,7 @@ impl User {
|
||||
email_new_token: None,
|
||||
|
||||
password_hash: Vec::new(),
|
||||
salt: crypto::get_random_64(),
|
||||
salt: crypto::get_random_bytes::<64>().to_vec(),
|
||||
password_iterations: CONFIG.password_iterations(),
|
||||
|
||||
security_stamp: crate::util::get_uuid(),
|
||||
|
||||
Reference in new issue
Block a user