Skip to content

Conversation

@junjeeong
Copy link
Collaborator

Pull requests

✅ 작업한 내용

  • App이 실행될 때, auth-storage가 있다면 현재 시간과 비교하여 AccessToken이 갱신된 지 24시간이 지났다면 logout을 시키는 로직을 추가했습니다.

:1234

❗️PR Point

  • 없음

📸 스크린샷

@junjeeong junjeeong added the 👩‍💻 Feat 새로운 기능 label May 2, 2025
@junjeeong junjeeong requested a review from Soohyuniii May 2, 2025 11:12
@junjeeong junjeeong self-assigned this May 2, 2025
@junjeeong junjeeong linked an issue May 2, 2025 that may be closed by this pull request
3 tasks
src/App.tsx Outdated
<Route path="/chat-tips/:mbti" element={<ChatTips />} />
<Route
path="/chat-temperature/:conversationId"
path="/chat-temporature/:conversationId"
Copy link
Collaborator

Choose a reason for hiding this comment

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

잘못들어간 것 같습니다.

set({
isLoggedIn: true,
accessToken: res.data.data as string
accessToken: res.data.data as string,
Copy link
Collaborator

Choose a reason for hiding this comment

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

혹시 타입에러 발생하지 않나요?

@junjeeong
Copy link
Collaborator Author

#251

comment 반영했습니다!

@junjeeong junjeeong merged commit e31fad7 into dev May 7, 2025
1 check passed
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: 사용자 로그인 유지 기한 관리

3 participants