mirror of
https://github.com/KevinMidboe/seasoned.git
synced 2026-03-11 11:55:38 +00:00
properly log user out by removing all browser storage
This commit is contained in:
@@ -127,6 +127,9 @@ const userModule: Module<UserState, RootState> = {
|
|||||||
state.settings = null;
|
state.settings = null;
|
||||||
state.admin = false;
|
state.admin = false;
|
||||||
deleteCookie("authorization");
|
deleteCookie("authorization");
|
||||||
|
deleteCookie("plex_auth_token");
|
||||||
|
localStorage.clear();
|
||||||
|
sessionStorage.clear();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user