Skip to content

Commit 79b1739

Browse files
authored
비밀번호 재설정 인증코드 시간 연장 오류 수정 (#307)
1 parent c7e6566 commit 79b1739

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/kotlin/users/service/UserService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ class UserServiceImpl(
569569
val user = userRepository.findByCredentialLocalIdAndActiveTrue(localId) ?: throw UserNotFoundException
570570
val key = RESET_PASSWORD_CODE_PREFIX + user.id
571571
checkVerificationValue(key, code)
572-
redisTemplate.opsForValue().getAndExpire(key, Duration.ofMinutes(3)).subscribe()
572+
redisTemplate.expire(key, Duration.ofMinutes(3)).subscribe()
573573
}
574574

575575
override suspend fun getMaskedEmail(localId: String): String {

0 commit comments

Comments
 (0)