diff --git a/src/services/identity/service.rs b/src/services/identity/service.rs index 5e6fc7b..7b80994 100644 --- a/src/services/identity/service.rs +++ b/src/services/identity/service.rs @@ -46,17 +46,7 @@ impl Service<'_> { member_repository: repositories::member::repository::Repository::new(), member_site_repository: repositories::member_site::repository::Repository::new(), member_session_repository: repositories::member_session::repository::Repository::new(), - argon2_config: argon2::Config { - 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, - }, + argon2_config: argon2::Config::default(), captcha_salt, password_salt, }