From 4bda92af45fd7d92835e3452a150855e493d937d Mon Sep 17 00:00:00 2001 From: Troels Ugilt Jensen <6103205+tuj@users.noreply.github.com> Date: Fri, 22 Sep 2023 11:07:35 +0200 Subject: [PATCH] DISPLAY-993: Fixed access config and cleanup after logout --- src/app.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app.jsx b/src/app.jsx index ff0860bb..7c980ac4 100644 --- a/src/app.jsx +++ b/src/app.jsx @@ -78,6 +78,7 @@ function App() { const handleReauthenticate = () => { localStorage.removeItem(localStorageKeys.API_TOKEN); + localStorage.removeItem(localStorageKeys.API_REFRESH_TOKEN); localStorage.removeItem(localStorageKeys.SELECTED_TENANT); localStorage.removeItem(localStorageKeys.TENANTS); localStorage.removeItem(localStorageKeys.USER_NAME); @@ -154,7 +155,7 @@ function App() { roles: ["ROLE_ADMIN"], }, externalUsers: { - roles: ["ROLE_ADMIN"], + roles: ["ROLE_ADMIN", "ROLE_EXTERNAL_USER_ADMIN"], }, }); });