diff --git a/ui/redux/actions/user.js b/ui/redux/actions/user.js index 5b2bf0157..9cbf0f2ae 100644 --- a/ui/redux/actions/user.js +++ b/ui/redux/actions/user.js @@ -159,6 +159,8 @@ export function doAuthenticate( }); }) .catch(error => { + if (sessionStorageAvailable) window.sessionStorage.removeItem(AUTH_IN_PROGRESS); + dispatch({ type: ACTIONS.AUTHENTICATION_FAILURE, data: { error },