비밀번호 변경 기능 개선 및 검증 강화

- 비밀번호 변경 페이지에 확인 Dialog 추가 (로그인/거래취소)
- 비밀번호 에러 코드별 상세 메시지 처리
  * INVALID_PASSWORD, UPDATE_PASSWORD_FAIL, PREVIOUS_PASSWORD
  * MERCHANT_INFO_MATCH_PASSWORD, PASSWORD_LENGHT
  * DISALLOWED_CHARACTERS_INCLUDED, DISALLOWED_WHITE_SPACE
  * NOT_ENOUGH_COMPLEXITY, REPEATED_CHARACTER_SEQUENCE
  * COMMON_PASSWORD_DETECTED
- 비밀번호 입력 검증 로직 통합 (validatePassword)
- 이메일/전화번호 마스킹 기능 추가
- 사용자 추가 페이지 에러 처리 개선
- 다국어 메시지 추가 (한국어/영어)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Jay Sheen
2025-11-17 20:50:53 +09:00
parent 522ccf7464
commit 2d1dd6f9e7
10 changed files with 748 additions and 128 deletions

View File

@@ -327,6 +327,8 @@
"pleaseEnterId": "Please enter ID",
"pleaseEnterPassword": "Please enter password",
"pleaseEnter8OrMoreCharacters": "Please enter 8 or more characters",
"passwordFormatRequirement": "Please set a password with 8 to 20 characters including letters, numbers, and special characters.",
"passwordSecurityRequirement": "Password cannot contain consecutive numbers (3+ digits), repeated characters (2+ times), or same characters (3+ times).",
"enterPassword": "Enter password",
"reEnterPassword": "Re-enter password",
"enterPhoneNumber": "Enter phone number",
@@ -339,6 +341,7 @@
"userAddFailed": "Failed to add user.",
"userInfoSavedSuccessfully": "User information saved successfully.",
"userInfoSaveFailed": "Failed to save user information.",
"confirmPasswordChange": "Would you like to change your password?",
"passwordChangedSuccessfully": "Password changed successfully.",
"passwordChangeFailed": "Failed to change password.",
"permissionSavedSuccessfully": "Permission saved successfully.",
@@ -357,7 +360,26 @@
"menuPermissions": "Menu Permissions",
"deleteUserConfirm": "Do you want to delete this user?",
"deleteUserSuccess": "User deleted successfully.",
"deleteUserFailed": "Failed to delete user."
"deleteUserFailed": "Failed to delete user.",
"passwordNoSpaceAllowed": "Password cannot contain spaces.",
"passwordLengthRequirement": "Password must be 8-20 characters long.",
"passwordInvalidCharacter": "Password contains invalid characters.",
"passwordCombinationRequirement": "Password must include at least 2 of: letters+numbers, letters+special characters, numbers+special characters.",
"passwordNoRepeatingCharacters": "Password cannot contain the same character 3 times in a row.",
"passwordNoConsecutiveSequence": "Password cannot contain 3 or more consecutive characters or numbers.",
"passwordNoKeyboardSequence": "Password cannot contain 3 consecutive characters from keyboard layout.",
"errors": {
"invalidPassword": "Incorrect password.",
"updatePasswordFail": "Password update failed.",
"previousPassword": "Cannot use previously used password.",
"merchantInfoMatchPassword": "Password cannot match merchant information.",
"passwordLength": "Password length error",
"disallowedCharactersIncluded": "Contains disallowed characters",
"disallowedWhiteSpace": "Contains whitespace characters",
"notEnoughComplexity": "Password does not meet complexity requirements",
"repeatedCharacterSequence": "Consecutive character/number sequence error",
"commonPasswordDetected": "Password validation failed"
}
},
"favorite": {
"edit": "Edit",