Skip to content

Commit

Permalink
hotfix: 이메일 인증 비활성화 (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
SHEOMM authored Jul 8, 2024
1 parent 7f258d6 commit a22fdb9
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,11 @@ public void logout() {
public void signUp(String email, String password, String nickname) {
boolean isEmailDuplicated = isDuplicatedEmail(email);

if (!verifyCodeRepository.isVerified(email)) {
throw new UnAuthenticatedException("이메일 인증을 완료해주세요.");
}

// if (!verifyCodeRepository.isVerified(email)) {
// throw new UnAuthenticatedException("이메일 인증을 완료해주세요.");
// }


if (isEmailDuplicated) {
throw new DuplicatedEmailException("중복된 이메일입니다.");
Expand All @@ -72,7 +74,9 @@ public void signUp(String email, String password, String nickname) {
.build()

);
verifyCodeRepository.deleteByEmail(email);

// verifyCodeRepository.deleteByEmail(email);

sessionManager.createSession(manager.getId());
}

Expand Down

0 comments on commit a22fdb9

Please sign in to comment.