Skip to content

Commit

Permalink
fix: 고객 등록 시, 패스워드 글자수 변경 #1
Browse files Browse the repository at this point in the history
6글자 -> 4글자
  • Loading branch information
PgmJun committed Apr 18, 2023
1 parent aaca16b commit 004a347
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ private void validatePasswordForRegister(String password) {
}

private void validatePasswordNumberLength(String password) {
if(password.length() != 6) {
if(password.length() != 4) {
throw new IllegalArgumentException(createErrorMessage("비밀번호는 6자로 구성되어야합니다."));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
public class OutputMessage {

public final static String REGISTER_CLIENT_MESSAGE = "고객 등록을 위하여, 정보를 입력해주세요.";
public final static String INPUT_REGISTER_ACCOUNT_NUMBER_MESSAGE = "등록하실 계좌번호를 입력해주세요. (Integer-Integer-Integer 형정)";
public final static String INPUT_REGISTER_ACCOUNT_NUMBER_MESSAGE = "등록하실 계좌번호를 입력해주세요. (Integer-Integer-Integer 형식)";
public final static String INPUT_REGISTER_CLIENT_BIRTH_MESSAGE = "생년월일을 입력해주세요. (2000-01-01 형식)";
public final static String INPUT_REGISTER_CLIENT_TEL_MESSAGE = "전화번호를 입력해주세요. (010-1234-1234 형식)";
public final static String INPUT_REGISTER_CLIENT_ADDRESS_MESSAGE = "거주지 주소를 입력해주세요.";
public final static String INPUT_REGISTER_CLIENT_PASSWORD_MESSAGE = "사용하실 비밀번호를 입력해주세요. (6자)";
public final static String INPUT_REGISTER_CLIENT_PASSWORD_MESSAGE = "사용하실 비밀번호를 입력해주세요. (정수 4글자)";

public final static String CHECK_ACCOUNT_BALANCE_MESSAGE = "잔액 조회를 위해 계좌번호와 비밀번호를 입력해주세요.";
public final static String CLIENT_ACCOUNT_BALANCE_AMOUNT_MESSAGE = "해당 계좌의 잔액은 %d원 입니다.";
Expand Down

0 comments on commit 004a347

Please sign in to comment.