config of argon2 is changed
This commit is contained in:
parent
81ac84043b
commit
e0fcc04907
|
@ -46,17 +46,7 @@ impl Service<'_> {
|
||||||
member_repository: repositories::member::repository::Repository::new(),
|
member_repository: repositories::member::repository::Repository::new(),
|
||||||
member_site_repository: repositories::member_site::repository::Repository::new(),
|
member_site_repository: repositories::member_site::repository::Repository::new(),
|
||||||
member_session_repository: repositories::member_session::repository::Repository::new(),
|
member_session_repository: repositories::member_session::repository::Repository::new(),
|
||||||
argon2_config: argon2::Config {
|
argon2_config: argon2::Config::default(),
|
||||||
variant: argon2::Variant::Argon2i,
|
|
||||||
version: argon2::Version::Version13,
|
|
||||||
mem_cost: 65536,
|
|
||||||
time_cost: 10,
|
|
||||||
lanes: 4,
|
|
||||||
thread_mode: argon2::ThreadMode::Parallel,
|
|
||||||
secret: &[],
|
|
||||||
ad: &[],
|
|
||||||
hash_length: 32,
|
|
||||||
},
|
|
||||||
captcha_salt,
|
captcha_salt,
|
||||||
password_salt,
|
password_salt,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user