We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7405e7d commit 94abdc5Copy full SHA for 94abdc5
packages/auth/src/api/index.ts
@@ -159,6 +159,8 @@ export async function _performFetchWithErrorHandling<V>(
159
);
160
} else if (serverErrorCode === ServerError.EMAIL_EXISTS) {
161
throw _makeTaggedError(auth, AuthErrorCode.EMAIL_EXISTS, json);
162
+ } else if (serverErrorCode === ServerError.USER_DISABLED) {
163
+ throw _makeTaggedError(auth, AuthErrorCode.USER_DISABLED, json);
164
}
165
const authError =
166
errorMap[serverErrorCode as ServerError] ||
0 commit comments