improvement: 임시 비밀번호 발급 및 강제변경 플로우 구현 (#207) #208
No reviewers
SPMS/Owners
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_API#208
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "improvement/#207-temp-password"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 작업 요약
POST /v1/in/account/password/temp) 신규 추가MustChangePassword,TempPasswordIssuedAt) 추가CHANGE_PASSWORD분기 추가 (VERIFY_EMAIL > CHANGE_PASSWORD > GO_DASHBOARD)🔗 관련 이슈 (Related Issues)
Closes #207
🛠️ 작업 내용 (Changes)
SPMS.Domain/Entities/Admin.cs— MustChangePassword, TempPasswordIssuedAt 필드 추가SPMS.Infrastructure/Migrations/— EF Core 마이그레이션 생성 및 적용SPMS.Application/Interfaces/IEmailService.cs— SendTempPasswordAsync 추가SPMS.Infrastructure/Services/ConsoleEmailService.cs— SendTempPasswordAsync 구현SPMS.Application/DTOs/Account/TempPasswordRequestDto.cs— 신규 DTOSPMS.Application/Interfaces/IAuthService.cs— IssueTempPasswordAsync 추가SPMS.Application/Services/AuthService.cs— IssueTempPasswordAsync, LoginAsync 분기, ChangePasswordAsync 플래그 해제SPMS.Application/DTOs/Auth/LoginResponseDto.cs— must_change_password 필드 추가SPMS.API/Controllers/PasswordController.cs— POST /v1/in/account/password/temp 엔드포인트📢 리뷰어 참고 사항 (To Reviewers)
✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)
빌드 성공: 경고 0개, 오류 0개
DB 마이그레이션: AddTempPasswordFieldsToAdmin 적용 완료