kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
logIn: rethrow 403 for non-waitlisted account
rodzic
ef6608341f
commit
3fbc912dae
|
@ -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;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Ładowanie…
Reference in New Issue