Skip to content
Snippets Groups Projects
Commit 24732a57 authored by Tom Robinson's avatar Tom Robinson
Browse files

Refresh after logging out to ensure all application state is cleared

parent b640d763
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,9 @@ export const logout = createThunkAction(LOGOUT, function() {
MetabaseAnalytics.trackEvent("Auth", "Logout");
dispatch(push("/auth/login"));
// refresh to ensure all application state is cleared
window.location.reload();
};
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment