Skip to content

feat: myInfo 페이지에 사용자가 /myInfo URL에 직접 접근하려고 할 때, 인증되지 않은 경우 인증되지 않은 경우 로그인 페이지로 리디렉션하도록 기능 구현#87

Open
YuHyeonWook wants to merge 4 commits intodevelopfrom
feature/middleware-route-guard
Open

feat: myInfo 페이지에 사용자가 /myInfo URL에 직접 접근하려고 할 때, 인증되지 않은 경우 인증되지 않은 경우 로그인 페이지로 리디렉션하도록 기능 구현#87
YuHyeonWook wants to merge 4 commits intodevelopfrom
feature/middleware-route-guard

Conversation

@YuHyeonWook
Copy link
Collaborator

@YuHyeonWook YuHyeonWook commented Oct 4, 2024

This PR contains:

  • bugfix
  • feature
  • refactor
  • documentation
  • other

List any relevant issue numbers(selected):
#31

Description

Enhancements to MyInfoPage:

  • Added useEffect to redirect users to the homepage if userData is not available. (app/myInfo/page.tsx)
  • Updated the loading message to "로딩 중..." to provide a localized experience. (app/myInfo/page.tsx)

@YuHyeonWook YuHyeonWook added the feat New feature or request label Oct 4, 2024
@YuHyeonWook YuHyeonWook self-assigned this Oct 4, 2024
@YuHyeonWook YuHyeonWook linked an issue Oct 4, 2024 that may be closed by this pull request
@YuHyeonWook YuHyeonWook changed the title feat: myInfo 페이지에 사용자가 /myInfo URL에 직접 접근하려고 할 때, 인증되지 않은 경우 인증되지 않 은 경우 로그인 페이지로 리디렉션하도록 기능 구현 feat: myInfo 페이지에 사용자가 /myInfo URL에 직접 접근하려고 할 때, 인증되지 않은 경우 인증되지 않은 경우 로그인 페이지로 리디렉션하도록 기능 구현 Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat New feature or request

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

[feat] URL에 직접 접근하려는 경우 막기

1 participant