Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat] 어드민 페이지 로그인 기능 추가, 자동 로그아웃 로직 구현 #93

Merged
merged 10 commits into from
Aug 13, 2024

Conversation

lybell-art
Copy link
Collaborator

@lybell-art lybell-art commented Aug 13, 2024

#️⃣ 연관 이슈

📝 작업 내용

어드민 페이지의 로그인 기능을 추가했습니다.

  • 로그인되었을 떄 상태에 따라 라우터도 설정해 뒀습니다.
  • GNB도 추가했습니다.
    • events : 이벤트 관리 페이지
    • comments : 기대평 관리 페이지

fetchServer의 미들웨어 기능을 추가했고, 로그아웃 미들웨어를 추가했습니다.
이제 401 에러를 반환하면 자동으로 로그아웃이 됩니다.

@lybell-art lybell-art added the feat 기능 구현 label Aug 13, 2024
@lybell-art lybell-art requested a review from darkdulgi August 13, 2024 06:08
@lybell-art lybell-art self-assigned this Aug 13, 2024
@lybell-art lybell-art linked an issue Aug 13, 2024 that may be closed by this pull request
3 tasks
@lybell-art lybell-art linked an issue Aug 13, 2024 that may be closed by this pull request
1 task
Copy link
Collaborator

@darkdulgi darkdulgi left a comment

Choose a reason for hiding this comment

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

고생하셨습니다!

@darkdulgi darkdulgi merged commit 62f7f26 into dev Aug 13, 2024
1 check passed
@lybell-art lybell-art deleted the feature/25-admin-login branch August 13, 2024 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat 기능 구현
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feat] 어드민-nav [feat] 어드민-로그인
2 participants