From b9f34e7b26733c8ef22a2896690ae739245a9411 Mon Sep 17 00:00:00 2001 From: David Emory Date: Thu, 10 May 2018 16:31:12 -0400 Subject: [PATCH] fix(manager): Fix console errors on logout --- lib/manager/actions/user.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/manager/actions/user.js b/lib/manager/actions/user.js index 0dcddc83f..b165abbcb 100644 --- a/lib/manager/actions/user.js +++ b/lib/manager/actions/user.js @@ -257,7 +257,9 @@ export function userLogout () { export function logout () { return function (dispatch, getState) { - dispatch(userLogout()) + // dispatch(userLogout()) // disabled to avoid console errors on logout + // TODO: determine if any further action is needed to clear store on user + // logout. If not, completely remove USER_LOGGED_OUT from code getState().user.auth0.logout() } }