logIn: rethrow 403 for non-waitlisted account

This commit is contained in:
Alex Gleason 2022-07-08 14:38:36 -05:00
parent ef6608341f
commit 3fbc912dae
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -181,7 +181,7 @@ export const verifyCredentials = (token: string, accountUrl?: string) => {
} else { } else {
if (getState().me === null) dispatch(fetchMeFail(error)); if (getState().me === null) dispatch(fetchMeFail(error));
dispatch({ type: VERIFY_CREDENTIALS_FAIL, token, error, skipAlert: true }); dispatch({ type: VERIFY_CREDENTIALS_FAIL, token, error, skipAlert: true });
return error; throw error;
} }
}); });
}; };