verifyCredentials: do alert on failure

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

View file

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