Skip to content

Commit

Permalink
DISPLAY-993: Fixed access config and cleanup after logout
Browse files Browse the repository at this point in the history
  • Loading branch information
tuj committed Sep 22, 2023
1 parent ad8e7ea commit 4bda92a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -154,7 +155,7 @@ function App() {
roles: ["ROLE_ADMIN"],
},
externalUsers: {
roles: ["ROLE_ADMIN"],
roles: ["ROLE_ADMIN", "ROLE_EXTERNAL_USER_ADMIN"],
},
});
});
Expand Down

0 comments on commit 4bda92a

Please sign in to comment.