Skip to content

Commit

Permalink
remove impersonate when logging out
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisinajar committed Jan 9, 2025
1 parent 70c1003 commit 933cd33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/logout.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ function Logout() {
const [userState, userActions] = useUserState();
const history = useHistory();

sessionStorage.impersonate = false;
storage.remove('authentication', () => {
userActions.login();
history.push('/login');
Expand Down

0 comments on commit 933cd33

Please sign in to comment.