From 5cf962fd8f65e4f04e14f014012232f1c6137c5b Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Fri, 20 Aug 2021 18:48:40 +0200 Subject: [PATCH] Delete current actor ID as well from local storage when unlogging Signed-off-by: Thomas Citharel --- js/src/utils/auth.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/js/src/utils/auth.ts b/js/src/utils/auth.ts index 4c61a87a5..534456782 100644 --- a/js/src/utils/auth.ts +++ b/js/src/utils/auth.ts @@ -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);