Skip to content

Commit 6b2fa0c

Browse files
authored
Merge pull request #324 from prgrms-web-devcourse-final-project/feature/sign-up-async
fix: 메일 전송 시 이메일 중복 체크 제외
2 parents f49bf74 + cd5f9e1 commit 6b2fa0c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/main/java/grep/neogulcoder/domain/users/service/MailService.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ public void clearStores() {
4444

4545
@Async("mailExecutor")
4646
public void sendCodeTo(String email, LocalDateTime currentDateTime) {
47-
if (isDuplicateEmail(email)) {
48-
throw new EmailDuplicationException(UserErrorCode.IS_DUPLICATED_MALI);
49-
}
50-
5147
LocalDateTime expiredDateTime = currentDateTime.plusMinutes(VERIFY_LIMIT_MINUTE);
5248
emailExpiredTimeMap.put(email, expiredDateTime);
5349
sendCodeTo(email);

0 commit comments

Comments
 (0)