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

bug fix. 비밀번호 입력 관련 API의 에러코드 추가 #67

Merged
merged 4 commits into from
Jun 1, 2023

Conversation

cho4036
Copy link
Contributor

@cho4036 cho4036 commented May 31, 2023

비밀번호 오류에 대해 응답코드 401 -> 400 으로 변경 하였으며 에러 코드 "A_INVALID_PASSWORD"를 추가하였습니다.

추가 커밋:
minor fix: grafana endpoint에 대한 url 수정
minor fix: Organization 생성 시 전송하는 이메일 포맷 수정

@cho4036 cho4036 added the bug Something isn't working label May 31, 2023
@cho4036 cho4036 requested review from ktkfree, intelliguy and Siyeop May 31, 2023 09:23
Comment on lines +18 to +19
"A_INVALID_ID": "아이디가 존재하지 않습니다.",
"A_INVALID_PASSWORD": "비밀번호가 일치하지 않습니다.",
Copy link
Member

Choose a reason for hiding this comment

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

사이트마다 정책이 다르긴한데
둘을 구분하지 않고 리턴하는 경우가 많은 것 같긴합니다.
존재하는 아이디인지 알려주는 것 자체가 문제라고 생각하더라고요.

향후에 5회이상 잘못된 비밀번호 입력시 락 거는 기능 등이 추가될 때 정리한번 하면 좋을 것 같습니다.

Copy link
Member

@Siyeop Siyeop left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 👍

Siyeop

This comment was marked as duplicate.

@Siyeop
Copy link
Member

Siyeop commented May 31, 2023

이 PR 머지 후에 화면도 수정하고 난 후에
티켓 클로즈 처리하겠습니다.

@ktkfree ktkfree merged commit 52d0b27 into openinfradev:develop Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants