Delete current actor ID as well from local storage when unlogging

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-08-20 18:48:40 +02:00
parent ba075c1973
commit 5cf962fd8f
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773

View File

@ -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);