From e0fcc04907c08f8b5b6b5516ca45ef18bdb8c8a9 Mon Sep 17 00:00:00 2001 From: PARK BYUNG JUN Date: Sat, 6 Aug 2022 04:28:19 +0000 Subject: [PATCH] config of argon2 is changed --- src/services/identity/service.rs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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, }