verifyCredentials: do alert on failure
This commit is contained in:
parent
3fbc912dae
commit
da9eaf2b82
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue