We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7e6566 commit 79b1739Copy full SHA for 79b1739
core/src/main/kotlin/users/service/UserService.kt
@@ -569,7 +569,7 @@ class UserServiceImpl(
569
val user = userRepository.findByCredentialLocalIdAndActiveTrue(localId) ?: throw UserNotFoundException
570
val key = RESET_PASSWORD_CODE_PREFIX + user.id
571
checkVerificationValue(key, code)
572
- redisTemplate.opsForValue().getAndExpire(key, Duration.ofMinutes(3)).subscribe()
+ redisTemplate.expire(key, Duration.ofMinutes(3)).subscribe()
573
}
574
575
override suspend fun getMaskedEmail(localId: String): String {
0 commit comments