Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

야놀자 페이 패스워드 설정 API 구현 #87

Closed
wants to merge 5 commits into from

Conversation

deltawing71911
Copy link
Contributor

@deltawing71911 deltawing71911 commented Jan 17, 2024

resolved #86

개요

야놀자 페이에서 사용할 비밀번호 등록 / 한 번 더 확인하는 API 구현

  • 비밀번호는 6자리 숫자만 입력 가능
  • 이전 화면에서 입력한 동일한 비밀번호 입력 확인
  • 일치하면 엔드포인트를 통해 서비스로 전송
  • 비밀번호 유효성 검사 후 엔티티에 저장하는 로직 포함

PR 유형

어떤 변경 사항이 있나요?

  • 새로운 기능 추가
  • 버그 수정
  • CSS 등 사용자 UI 디자인 변경
  • 코드에 영향을 주지 않는 변경사항(오타 수정, 탭 사이즈 변경, 변수명 변경)
  • 코드 리팩토링
  • 주석 추가 및 수정
  • 문서 수정
  • 테스트 추가, 테스트 리팩토링
  • 빌드 부분 혹은 패키지 매니저 수정
  • 파일 혹은 폴더명 수정
  • 파일 혹은 폴더 삭제

PR Checklist

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • 커밋 메시지 컨벤션에 맞게 작성했습니다. Commit message convention 참고 (Ctrl + 클릭하세요.)
  • 변경 사항에 대한 테스트를 했습니다.(버그 수정/기능에 대한 테스트)

resolved #86
Comment on lines +11 to +18
String password,
@NotBlank(message = "확인용 패스워드도 공백일 수 없습니다.")
String confirmPassword
) {

public boolean isPasswordMatch() {
return this.password.equals(this.confirmPassword);
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

패스워드 == 확인용 패스워드 검증을 프론트에서 하고, 실제 서버에서는 패스워드 하나만 받을 수 있지 않나요?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이게 지금 페이 은행 등록시에 비번, 확인용 비번인가요?
만약 맞다면 저도 성수님 의견에 동감합니다

@Programmer-may Programmer-may deleted the feature/86 branch January 27, 2024 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants