Skip to content

feat: 회원 이름/비밀번호 수정, 탈퇴 구현#34

Merged
swfs0417 merged 3 commits intomainfrom
feat/account-management
Feb 4, 2026
Merged

feat: 회원 이름/비밀번호 수정, 탈퇴 구현#34
swfs0417 merged 3 commits intomainfrom
feat/account-management

Conversation

@swfs0417
Copy link
Collaborator

@swfs0417 swfs0417 commented Feb 4, 2026

여태 이런 기능이 없었다니...

  • 이름 수정 추가 (PATCH /api/users/me)
  • 비밀번호 변경 추가 (PATCH /api/auth/password)
  • 회원탈퇴 추가 (DELETE /api/auth/withdraw)
    • 관리자는 동아리 삭제시 계정 삭제 처리
  • 관련 테스트케이스 추가

- DELETE /api/auth/withdraw: 회원탈퇴 API 추가
- 관리자는 동아리 삭제 먼저 해야 탈퇴 가능
- 동아리 삭제 시 관리자 계정도 함께 삭제
- User 모델에 cascade 설정 추가
@swfs0417 swfs0417 merged commit 281493f into main Feb 4, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant