Skip to content

fix: 회원탈퇴 후 로그인 페이지 리다이렉트 수정#159

Merged
chaeyeon-dev merged 2 commits into
developfrom
fix/withdraw-login-redirect
Apr 16, 2026
Merged

fix: 회원탈퇴 후 로그인 페이지 리다이렉트 수정#159
chaeyeon-dev merged 2 commits into
developfrom
fix/withdraw-login-redirect

Conversation

@chaeyeon-dev

Copy link
Copy Markdown
Contributor

무엇을 변경했나요?

회원탈퇴 후 로그인 페이지 리다이렉트 수정

왜 이렇게 했나요?

(선택한 이유, 다른 방법 대신 이걸 선택한 이유)

리뷰어가 특히 봐줬으면 하는 부분

  • (예: 이 로직이 엣지케이스를 잘 처리하는지)

스크린샷 (UI 변경 시)

@vercel

vercel Bot commented Apr 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
bearlog Ready Ready Preview, Comment Apr 16, 2026 8:47am

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code Review

This pull request removes the useRouter hook and replaces the client-side redirect to the login page with window.location.href following account deletion. Feedback suggests using window.location.replace instead of href to prevent users from navigating back to the restricted page via browser history after their session is cleared.

Comment thread src/app/(main)/mypage/MyPageForm.tsx Outdated
@chaeyeon-dev chaeyeon-dev merged commit 50795bc into develop Apr 16, 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.

2 participants