Skip to content

Commit

Permalink
fix: 48시간 내에 재가입 방지 로직 수정 (#433)
Browse files Browse the repository at this point in the history
  • Loading branch information
injoon2019 authored Sep 21, 2024
1 parent 2cfa9d0 commit a30e325
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class AuthFacade(
val lastAccount = allAccounts.last()
if (lastAccount.isNotDeleted()) return
val duration: Duration = Duration.between(lastAccount.deletedAt, LocalDateTime.now())
require(duration.toHours() < 48) {
require(duration.toHours() > 48) {
throw IllegalStateException("탈퇴 후 48시간이 지나야 재가입이 가능해요.")
}
}
Expand Down

0 comments on commit a30e325

Please sign in to comment.