We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f49bf74 + cd5f9e1 commit 6b2fa0cCopy full SHA for 6b2fa0c
src/main/java/grep/neogulcoder/domain/users/service/MailService.java
@@ -44,10 +44,6 @@ public void clearStores() {
44
45
@Async("mailExecutor")
46
public void sendCodeTo(String email, LocalDateTime currentDateTime) {
47
- if (isDuplicateEmail(email)) {
48
- throw new EmailDuplicationException(UserErrorCode.IS_DUPLICATED_MALI);
49
- }
50
-
51
LocalDateTime expiredDateTime = currentDateTime.plusMinutes(VERIFY_LIMIT_MINUTE);
52
emailExpiredTimeMap.put(email, expiredDateTime);
53
sendCodeTo(email);
0 commit comments