fix: 비밀번호 유효성 검사 메시지를 일본어로 변경

- 비밀번호 유효성 검사 시 사용자에게 제공되는 경고 메시지를 일본어로 수정
- 개발 환경에서 QSP API URL을 로컬 주소로 변경
This commit is contained in:
nalpari 2025-06-20 15:54:14 +09:00
parent dc53a2588a
commit 1248ec0c95
2 changed files with 7 additions and 6 deletions

View File

@ -14,7 +14,8 @@ SESSION_PASSWORD="This application is for mobile field research"
NEXT_PUBLIC_API_URL=https://dev.hanasysfield.jp
#qsp 로그인 api
NEXT_PUBLIC_QSP_API_URL=http://121.168.9.37:8080
# NEXT_PUBLIC_QSP_API_URL=http://121.168.9.37:8080
NEXT_PUBLIC_QSP_API_URL=http://localhost:8110
# NEXT_PUBLIC_QSP_API_URL=https://jp-dev.qsalesplatform.com
#1:1문의 api

View File

@ -23,31 +23,31 @@ export default function PwResetForm() {
const validatePwd = () => {
// 비밀번호 길이 체크 (8글자 이상)
if (pwd01.length < 8) {
alert('비밀번호는 8글자 이상이어야 합니다.')
alert('パスワードは8文字以上でなければなりません。')
return false
}
// 영문 대문자 포함 체크
if (!/[A-Z]/.test(pwd01)) {
alert('비밀번호에 영문 대문자를 포함해야 합니다.')
alert('パスワードに英大文字を含める必要があります。')
return false
}
// 영문 소문자 포함 체크
if (!/[a-z]/.test(pwd01)) {
alert('비밀번호에 영문 소문자를 포함해야 합니다.')
alert('パスワードに英語の小文字を含める必要があります。')
return false
}
// 숫자 포함 체크
if (!/[0-9]/.test(pwd01)) {
alert('비밀번호에 숫자를 포함해야 합니다.')
alert('비パスワードに数字を含める必要があります。')
return false
}
// 두 비밀번호 일치 체크
if (pwd01 !== pwd02) {
alert('비밀번호가 일치하지 않습니다.')
alert('パスワードが一致しません。')
return false
}