forked from potsda.mn/mobilizon
Delete current actor ID as well from local storage when unlogging
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
ba075c1973
commit
5cf962fd8f
|
@ -47,6 +47,7 @@ export function deleteUserData(): void {
|
|||
AUTH_USER_EMAIL,
|
||||
AUTH_ACCESS_TOKEN,
|
||||
AUTH_REFRESH_TOKEN,
|
||||
AUTH_USER_ACTOR_ID,
|
||||
AUTH_USER_ROLE,
|
||||
].forEach((key) => {
|
||||
localStorage.removeItem(key);
|
||||
|
|
Loading…
Reference in a new issue