Skip to content

Commit

Permalink
FIx : change the storage local to session
Browse files Browse the repository at this point in the history
- #8
  • Loading branch information
carboxaminoo committed Mar 7, 2024
1 parent b212c89 commit d307ff9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mz_v1_front/src/components/header_login.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
function handleLogout() {
// 로컬 스토리지에서 'auth_token' 제거
localStorage.removeItem('auth_token');
sessionStorage.removeItem('auth_token');
alert("로그아웃 되었습니다.");
goto('/');
}
Expand Down

0 comments on commit d307ff9

Please sign in to comment.