Skip to content

Commit b38e32e

Browse files
committed
[fix] refreshToken 유효성 검사 임시 중지
1 parent 3e6447d commit b38e32e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/router/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ router.beforeEach(async (to, from, next) => {
113113
const localStorageData = localStorage.getItem('accessToken');
114114
const refreshTokenId = cookies.get('refreshTokenId')
115115

116-
if (!localStorageData || !refreshTokenId) {
116+
// if (!localStorageData || !refreshTokenId) {
117+
if (!localStorageData) {
117118
// 로컬 스토리지나 쿠키의 값이 없는 경우, 페이지 이동을 취소하고 로그인 페이지로 리다이렉트
118119
next('/sign-in');
119120
} else {

0 commit comments

Comments
 (0)