Skip to content

Commit

Permalink
[mod] #115 이메일 도메인 에러 경로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
seokjun01 committed Feb 1, 2025
1 parent 7a32ffe commit d8bd66b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public void onAuthenticationFailure(HttpServletRequest request, HttpServletRespo
CommonException commonException = (CommonException)cause;
if (commonException.getErrorCode() == ErrorCode.INVALID_EMAIL_DOMAIN) {
log.error("가천대 이메일이 아님: {}", exception.getMessage());
response.sendRedirect("/invalid-email.html");
response.sendRedirect("https://develop.d4u0qurydeei4.amplifyapp.com/intro/oauth2/invalid-account");
return;
}
}
Expand Down

0 comments on commit d8bd66b

Please sign in to comment.