Skip to content

Commit

Permalink
회원가입 예외처리2
Browse files Browse the repository at this point in the history
회원가입 예외처리2
  • Loading branch information
byeong-chang committed Jun 29, 2023
1 parent c48f28e commit 3fe2275
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public void saveUser(Users user){

public Boolean passwordCheck(String password, String passwordCheck){
if (!password.equals(passwordCheck)){
log.warn("Password is not same to passwordCheck");
throw new RuntimeException("Incorrect password");
log.warn("비밀번호가 일치하지 않습니다.");
throw new RuntimeException("비밀번호가 일치하지 않습니다.");
}
return true;
}
Expand Down

0 comments on commit 3fe2275

Please sign in to comment.