

250328 김혜민 로그아웃시 쿠키삭제 추가
@dacc729d15ce100b528615d3d2d489787b4594f9
--- client/resources/api/index.js
+++ client/resources/api/index.js
... | ... | @@ -59,6 +59,8 @@ |
59 | 59 |
sessionStorage.setItem("redirect", redirect); |
60 | 60 |
alert('세션이 종료 되었습니다.\n로그인을 새로 해주세요.'); |
61 | 61 |
store.commit("setStoreReset"); |
62 |
+ //refresh 쿠키 삭제 |
|
63 |
+ document.cookie = "refresh=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; |
|
62 | 64 |
window.location = '/login.page'; |
63 | 65 |
return Promise.reject(refreshError); |
64 | 66 |
} |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?