From 3fbc912dae764ba69827c968a6671e19fe3cd9a6 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 8 Jul 2022 14:38:36 -0500 Subject: [PATCH] logIn: rethrow 403 for non-waitlisted account --- app/soapbox/actions/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/actions/auth.ts b/app/soapbox/actions/auth.ts index e6ab20e9b..5a5468e7f 100644 --- a/app/soapbox/actions/auth.ts +++ b/app/soapbox/actions/auth.ts @@ -181,7 +181,7 @@ export const verifyCredentials = (token: string, accountUrl?: string) => { } else { if (getState().me === null) dispatch(fetchMeFail(error)); dispatch({ type: VERIFY_CREDENTIALS_FAIL, token, error, skipAlert: true }); - return error; + throw error; } }); };