Conversation
- findByPhoneNumberAndName(String, String) - updatePasswordByPhoneNumber(String, String)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#️⃣ 연관된 이슈
📝 작업 내용
비밀번호 재설정 플로우를 Draft 기반으로 추가했습니다.
Step1에서 Draft를 발급하고, Step2에서 SMS OTP 발송, Step3에서 OTP 검증 후 Step4에서 새 비밀번호를 설정하는 흐름입니다.
진행 상태는 Redis Draft에 저장하고 TTL로 만료 처리합니다.
🔍 주요 변경 사항
/api/password-reset/drafts/api/password-reset/sms/send/api/password-reset/otp/verify/api/password-reset/passwordPasswordResetDraftRedisValue로 상태(step, otpState 등) 관리updatePreserveTtl) 지원MemberRepository에 phoneNumber 기준 passwordHash 업데이트 쿼리 추가SecurityConfig에/api/password-reset/**permitAll 추가SwaggerConfig에 PasswordReset API group 추가application-local.yml에password-reset.draft-ttl-minutes추가🧪 테스트/검증
password-reset.draft-ttl-minutes추가)