Skip to content

Commit

Permalink
feat: update email time from 5m to 3m
Browse files Browse the repository at this point in the history
  • Loading branch information
1jeongg committed Oct 13, 2024
1 parent e23b03a commit a339602
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public Email(String email, String code, Boolean isVerified) {
public boolean isExpired() {
// 생성된지 5분이 지나면 만료되었다고 판단
Duration duration = Duration.between(LocalDateTime.now(), this.createdAt);
return duration.getSeconds() > 60*5;
return duration.getSeconds() > 60*3;
}

public void updateVerified() {
Expand Down

0 comments on commit a339602

Please sign in to comment.