fix embed loading hang

This commit is contained in:
zeppi 2021-01-19 11:17:23 -05:00 committed by Sean Yesmunt
parent bb828385d0
commit a2d93bc7cc

View file

@ -159,6 +159,8 @@ export function doAuthenticate(
});
})
.catch(error => {
if (sessionStorageAvailable) window.sessionStorage.removeItem(AUTH_IN_PROGRESS);
dispatch({
type: ACTIONS.AUTHENTICATION_FAILURE,
data: { error },