Skip to content

Commit c550bf3

Browse files
author
Abhishek Jasud
committed
fix: clear local storage on logout
1 parent 0037810 commit c550bf3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/presentation/pages/Settings.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,11 @@ async function userLogout() {
211211
*/
212212
deleteOpenedPageByUrl('/settings');
213213
214+
/**
215+
* Clear local Storage
216+
*/
217+
window.localStorage.clear();
218+
214219
router.replace({ path: '/' });
215220
}
216221

0 commit comments

Comments
 (0)