Skip to content

Commit cd5f9e1

Browse files
committed
fix: 메일 전송 시 이메일 중복 체크 제외
- 비동기 전송이기 때문에 이메일 중복 체크를 응답 할 수 없기 때문
1 parent 8cad922 commit cd5f9e1

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)