From 79b173938a42d044dd865f39e42b6ca84a5f6da1 Mon Sep 17 00:00:00 2001 From: Chanyeong Lim Date: Thu, 12 Dec 2024 14:35:11 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=84=EB=B0=80=EB=B2=88=ED=98=B8=20?= =?UTF-8?q?=EC=9E=AC=EC=84=A4=EC=A0=95=20=EC=9D=B8=EC=A6=9D=EC=BD=94?= =?UTF-8?q?=EB=93=9C=20=EC=8B=9C=EA=B0=84=20=EC=97=B0=EC=9E=A5=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95=20(#307)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/main/kotlin/users/service/UserService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/kotlin/users/service/UserService.kt b/core/src/main/kotlin/users/service/UserService.kt index 4a019137..4caf4486 100644 --- a/core/src/main/kotlin/users/service/UserService.kt +++ b/core/src/main/kotlin/users/service/UserService.kt @@ -569,7 +569,7 @@ class UserServiceImpl( val user = userRepository.findByCredentialLocalIdAndActiveTrue(localId) ?: throw UserNotFoundException val key = RESET_PASSWORD_CODE_PREFIX + user.id checkVerificationValue(key, code) - redisTemplate.opsForValue().getAndExpire(key, Duration.ofMinutes(3)).subscribe() + redisTemplate.expire(key, Duration.ofMinutes(3)).subscribe() } override suspend fun getMaskedEmail(localId: String): String {