Skip to content

Commit

Permalink
Enabled sync logout while logging out user
Browse files Browse the repository at this point in the history
  • Loading branch information
vipinpaul committed Nov 20, 2023
1 parent de5022f commit d4ee623
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions renderer/src/components/Login/useAuthentication.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function useAuthentication() {
setCurrentUser();
await localForage.removeItem('sessionToken');
await localForage.removeItem('userProfile');
await localForage.removeItem('authentication');
await localForage.setItem('appMode','online');
router.push('/logout');
};
Expand Down

0 comments on commit d4ee623

Please sign in to comment.