diff --git a/renderer/src/components/Login/useAuthentication.js b/renderer/src/components/Login/useAuthentication.js index 63895efce..3b8a13cdc 100644 --- a/renderer/src/components/Login/useAuthentication.js +++ b/renderer/src/components/Login/useAuthentication.js @@ -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'); };